forked from TrueCloudLab/rclone
webdav: retry on 423 Locked errors #3263
This commit is contained in:
parent
75606dcc27
commit
3087c5d559
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ func (f *Fs) Features() *fs.Features {
|
||||||
|
|
||||||
// retryErrorCodes is a slice of error codes that we will retry
|
// retryErrorCodes is a slice of error codes that we will retry
|
||||||
var retryErrorCodes = []int{
|
var retryErrorCodes = []int{
|
||||||
|
423, // Locked
|
||||||
429, // Too Many Requests.
|
429, // Too Many Requests.
|
||||||
500, // Internal Server Error
|
500, // Internal Server Error
|
||||||
502, // Bad Gateway
|
502, // Bad Gateway
|
||||||
|
|
Loading…
Add table
Reference in a new issue