fix: enable image cache cleanup by default (#20532)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2024-06-14 18:14:01 +08:00
committed by GitHub
co-authored by Qiu Jian
parent d0e76569b5
commit 3cab927394
+1 -1
View File
@@ -52,7 +52,7 @@ type SHostBaseOptions struct {
ImageCacheExpireDays int `help:"Image cache expire duration in days" default:"30"`
ImageCacheCleanupPercentage int `help:"The cleanup threshold ratio of image cache size v.s. total storage size" default:"12"`
ImageCacheCleanupOnStartup bool `help:"Cleanup image cache on host startup" default:"false"`
ImageCacheCleanupDryRun bool `help:"Dry run cleanup image cache" default:"true"`
ImageCacheCleanupDryRun bool `help:"Dry run cleanup image cache" default:"false"`
}
type SHostOptions struct {