f
This commit is contained in:
@@ -251,7 +251,7 @@ func (m *DailyRateLimitMiddleware) shouldRecordNearLimit(current, max int) bool
|
||||
if max <= 0 {
|
||||
return false
|
||||
}
|
||||
threshold := int(math.Ceil(float64(max) * 0.8))
|
||||
threshold := int(math.Ceil(float64(max) * 0.9))
|
||||
if threshold < 1 {
|
||||
threshold = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user