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