mirror of
https://github.com/rclone/rclone.git
synced 2026-05-12 18:38:00 -04:00
shouldRetry treated every non-nil error as retryable, so permanent failures (auth, 4xx, not-found) burned through the LowLevelRetries budget instead of returning fast. This also fixes the pacer sleeps: pacer.MinSleep(1000) and MaxSleep(10000) are time.Duration values, so they were 1µs and 10µs - almost certainly intended as 10ms and 2s.