mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-04 10:00:49 +00:00
retry request on HTTP 429 error
This commit is contained in:
parent
9ab5a2ea73
commit
8bb0813bcc
|
@ -2582,6 +2582,7 @@ int S3fsCurl::RequestPerform(bool dontAddAuthHeaders /*=false*/)
|
||||||
result = -ENOTSUP;
|
result = -ENOTSUP;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 429:
|
||||||
case 500:
|
case 500:
|
||||||
case 503: {
|
case 503: {
|
||||||
S3FS_PRN_INFO3("HTTP response code %ld was returned, slowing down", responseCode);
|
S3FS_PRN_INFO3("HTTP response code %ld was returned, slowing down", responseCode);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user