mirror of
https://github.com/rclone/rclone.git
synced 2025-07-01 04:50:12 +02:00
fichier: implement custom pacer to deal with the new rate limiting
This commit is contained in:
@ -17,6 +17,7 @@ import (
|
||||
// retryErrorCodes is a slice of error codes that we will retry
|
||||
var retryErrorCodes = []int{
|
||||
429, // Too Many Requests.
|
||||
403, // Forbidden (may happen when request limit is exceeded)
|
||||
500, // Internal Server Error
|
||||
502, // Bad Gateway
|
||||
503, // Service Unavailable
|
||||
|
Reference in New Issue
Block a user