Save based on access key and dont retry code 19

This commit is contained in:
Ben Sarmiento
2024-05-25 22:02:05 +02:00
parent e6a47be656
commit 8e7f7c7624
3 changed files with 11 additions and 9 deletions

View File

@@ -269,8 +269,6 @@ func (r *HTTPClient) shouldRetry(req *http.Request, resp *http.Response, err err
return 1
case 18: // Hoster limit reached
return 1
case 19: // Hoster temporarily unavailable
return 1
case 25: // Service unavailable
return 1
case 34: // Too many requests (retry infinitely), default: 4 secs