Skip to content

Commit

Permalink
retry request on HTTP 429 error
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkseb authored and gaul committed Apr 14, 2024
1 parent 9502680 commit dd6815b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/curl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2688,6 +2688,7 @@ int S3fsCurl::RequestPerform(bool dontAddAuthHeaders /*=false*/)
result = -ENOTSUP;
break;

case 429:
case 500:
case 503: {
S3FS_PRN_INFO3("HTTP response code %ld was returned, slowing down", responseCode);
Expand Down

0 comments on commit dd6815b

Please sign in to comment.