fichier: implement custom pacer to deal with the new rate limiting
This commit is contained in:
parent
8bf6ab2c52
commit
7f776c64f0
2 changed files with 8 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue