mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 08:48:55 +00:00
retry request on HTTP 429 error
This commit is contained in:
parent
95026804e9
commit
dd6815b90f
@ -2688,6 +2688,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