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()
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user