Skip to content

Commit

Permalink
Don't retry on error 400
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Mar 12, 2024
1 parent 3cfeda4 commit a07bbe2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion osc/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a07bbe2

Please sign in to comment.