lower cdn fullGC threshould (#1144)
Signed-off-by: sunwp <244372610@qq.com>
This commit is contained in:
parent
7d30dd86ae
commit
2a33ff6005
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue