feat: add delay for new limit
This commit is contained in:
parent
1b87946130
commit
92f95d8658
@ -30,6 +30,7 @@ func lowerLimit() {
|
||||
time.Now().Add(limiterUpdateDelay),
|
||||
rate.Every(limiterTimeout),
|
||||
)
|
||||
time.Sleep(limiterUpdateDelay)
|
||||
}
|
||||
|
||||
// Retries in case of 5xx errors
|
||||
|
Loading…
Reference in New Issue
Block a user