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 ( var (
backoffSchedule = []time.Duration{ backoffSchedule = []time.Duration{
4 * time.Second, 200 * time.Millisecond,
8 * time.Second, 500 * time.Millisecond,
16 * time.Second, 1 * time.Second,
2 * time.Second,
} }
defaultErrorMap = map[int]error{ defaultErrorMap = map[int]error{