fix: Update default cache ratio from 0.5 to 1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user