Commit 314878ff by 1808837298@qq.com

fix: Update default cache ratio from 0.5 to 1

parent ec818773
...@@ -59,7 +59,7 @@ func GetCacheRatio(name string) (float64, bool) { ...@@ -59,7 +59,7 @@ func GetCacheRatio(name string) (float64, bool) {
GetCacheRatioMap() GetCacheRatioMap()
ratio, ok := cacheRatioMap[name] ratio, ok := cacheRatioMap[name]
if !ok { 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 return ratio, true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment