From: Brion VIBBER Date: Thu, 26 Apr 2012 23:32:32 +0000 (+0000) Subject: Merge "[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth... X-Git-Tag: 1.31.0-rc.0~23807 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=0efd8c5acc8856bc8aa7b2ec3155d7c8946ad7dd;p=lhc%2Fweb%2Fwiklou.git Merge "[FileBackend] Tweaked various cache parameters and bumped tiny Swift auth TTL a bit." --- 0efd8c5acc8856bc8aa7b2ec3155d7c8946ad7dd diff --cc includes/filerepo/backend/FileBackendStore.php index 4ee158f5b6,6af6480aee..803f966a02 --- a/includes/filerepo/backend/FileBackendStore.php +++ b/includes/filerepo/backend/FileBackendStore.php @@@ -19,15 -19,12 +19,15 @@@ * @since 1.19 */ abstract class FileBackendStore extends FileBackend { + /** @var BagOStuff */ + protected $memCache; + /** @var Array Map of paths to small (RAM/disk) cache items */ protected $cache = array(); // (storage path => key => value) - protected $maxCacheSize = 100; // integer; max paths with entries + protected $maxCacheSize = 300; // integer; max paths with entries /** @var Array Map of paths to large (RAM/disk) cache items */ protected $expensiveCache = array(); // (storage path => key => value) - protected $maxExpensiveCacheSize = 10; // integer; max paths with entries + protected $maxExpensiveCacheSize = 5; // integer; max paths with entries /** @var Array Map of container names to sharding settings */ protected $shardViaHashLevels = array(); // (container name => config array)