mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
fichier: Fix detection of Flood Detected error
This commit is contained in:
parent
16e0245a8e
commit
648afc7df4
@ -61,7 +61,7 @@ func shouldRetry(ctx context.Context, resp *http.Response, err error) (bool, err
|
|||||||
return false, err // No such user
|
return false, err // No such user
|
||||||
case 186:
|
case 186:
|
||||||
return false, err // IP blocked?
|
return false, err // IP blocked?
|
||||||
case 374:
|
case 374, 412: // Flood detected seems to be #412 now
|
||||||
fs.Debugf(nil, "Sleeping for 30 seconds due to: %v", err)
|
fs.Debugf(nil, "Sleeping for 30 seconds due to: %v", err)
|
||||||
time.Sleep(30 * time.Second)
|
time.Sleep(30 * time.Second)
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user