fix: Update default cache ratio from 0.5 to 1

This commit is contained in:
1808837298@qq.com
2025-03-08 02:47:41 +08:00
parent 6d79d8993e
commit 1f4ebddcfa

View File

@@ -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
}