mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Don't retry on error 400
This commit is contained in:
parent
3cfeda45ba
commit
a07bbe2a93
@ -237,7 +237,6 @@ def http_request(method: str, url: str, headers=None, data=None, file=None):
|
||||
total=int(conf.config["http_retries"]),
|
||||
backoff_factor=2,
|
||||
status_forcelist=(
|
||||
400, # Bad Request; retry on 400: service in progress
|
||||
500, # Internal Server Error
|
||||
502, # Bad Gateway
|
||||
503, # Service Unavailable
|
||||
|
Loading…
Reference in New Issue
Block a user