mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-10 21:02:24 +00:00
increase default stat cache size from 1000 to 100000
This commit is contained in:
parent
7a4696fc17
commit
4a72b60707
|
@ -142,7 +142,7 @@ pthread_mutex_t StatCache::stat_cache_lock;
|
|||
//-------------------------------------------------------------------
|
||||
// Constructor/Destructor
|
||||
//-------------------------------------------------------------------
|
||||
StatCache::StatCache() : IsExpireTime(false), IsExpireIntervalType(false), ExpireTime(0), CacheSize(1000), IsCacheNoObject(false)
|
||||
StatCache::StatCache() : IsExpireTime(false), IsExpireIntervalType(false), ExpireTime(0), CacheSize(100000), IsCacheNoObject(false)
|
||||
{
|
||||
if(this == StatCache::getStatCacheData()){
|
||||
stat_cache.clear();
|
||||
|
|
Loading…
Reference in New Issue
Block a user