1
0
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:
Daniel Mach 2024-03-12 17:34:53 +01:00
parent 3cfeda45ba
commit a07bbe2a93

View File

@ -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