adjust backoff schedules for reddit

This commit is contained in:
Andre Medeiros 2022-11-03 14:14:44 -04:00
parent 5adc5ec4e2
commit 06bdb905e5

View file

@ -47,9 +47,10 @@ type RateLimitingInfo struct {
var (
backoffSchedule = []time.Duration{
4 * time.Second,
8 * time.Second,
16 * time.Second,
200 * time.Millisecond,
500 * time.Millisecond,
1 * time.Second,
2 * time.Second,
}
defaultErrorMap = map[int]error{