lower cdn fullGC threshould (#1144)

Signed-off-by: sunwp <244372610@qq.com>
This commit is contained in:
sunwp 2022-03-09 17:43:47 +08:00 committed by Gaius
parent 7d30dd86ae
commit 2a33ff6005
No known key found for this signature in database
GPG Key ID: 8B4E5D1290FA2FFB
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ func getDiskDriverConfig(diskDriver storedriver.Driver) (*storage.DriverConfig,
BaseDir: diskDriver.GetBaseDir(),
DriverGCConfig: &storage.DriverGCConfig{
YoungGCThreshold: yongGCThreshold,
FullGCThreshold: 25 * unit.GB,
FullGCThreshold: 5 * unit.GB,
IntervalThreshold: 2 * time.Hour,
CleanRatio: 1,
},

View File

@ -70,7 +70,7 @@ func getDiskDriverConfig(diskDriver storedriver.Driver) (*storage.DriverConfig,
BaseDir: diskDriver.GetBaseDir(),
DriverGCConfig: &storage.DriverGCConfig{
YoungGCThreshold: yongGCThreshold,
FullGCThreshold: 25 * unit.GB,
FullGCThreshold: 5 * unit.GB,
IntervalThreshold: 2 * time.Hour,
CleanRatio: 1,
},