From 1f4ebddcfafe26f6188307b7f19823f9fe4dbb03 Mon Sep 17 00:00:00 2001 From: "1808837298@qq.com" <1808837298@qq.com> Date: Sat, 8 Mar 2025 02:47:41 +0800 Subject: [PATCH] fix: Update default cache ratio from 0.5 to 1 --- setting/operation_setting/cache_ratio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setting/operation_setting/cache_ratio.go b/setting/operation_setting/cache_ratio.go index a0813aab..d7a3d973 100644 --- a/setting/operation_setting/cache_ratio.go +++ b/setting/operation_setting/cache_ratio.go @@ -59,7 +59,7 @@ func GetCacheRatio(name string) (float64, bool) { GetCacheRatioMap() ratio, ok := cacheRatioMap[name] if !ok { - return 0.5, false // Default to 0.5 if not found + return 1, false // Default to 0.5 if not found } return ratio, true }