webdav: retry on 423 Locked errors #3263

This commit is contained in:
Nick Craig-Wood 2019-06-15 10:58:13 +01:00
parent 75606dcc27
commit 3087c5d559
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ func (f *Fs) Features() *fs.Features {
// retryErrorCodes is a slice of error codes that we will retry
var retryErrorCodes = []int{
423, // Locked
429, // Too Many Requests.
500, // Internal Server Error
502, // Bad Gateway