Merge pull request #117 from pagespeed/oschaaf-filecache-worker

filecache: pass in a slow worker during construction
This commit is contained in:
Jeff Kaufman
2013-01-02 13:24:24 -08:00
+1 -1
View File
@@ -61,7 +61,7 @@ NgxCache::NgxCache(const StringPiece& path,
config.file_cache_clean_size_kb() * 1024,
config.file_cache_clean_inode_limit());
file_cache_ = new FileCache(
config.file_cache_path(), factory->file_system(), NULL,
config.file_cache_path(), factory->file_system(), factory->slow_worker(),
factory->filename_encoder(), policy, factory->message_handler());
l2_cache_.reset(new CacheStats(kFileCache, file_cache_, factory->timer(),
factory->statistics()));