Skip to content

Commit

Permalink
use previous logic defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
joshburt committed May 30, 2024
1 parent b3d91b6 commit d693b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ae5_tools/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def _build_requests_session() -> Session:
# 502, 503, 504 can be encountered when ae5 is under heavy load
# TODO: this should be definable on a per command basis, and parameterized.
retries: Retry = Retry(
total=10,
total=3,
backoff_factor=0.1,
status_forcelist=[403, 502, 503, 504],
allowed_methods={"POST", "PUT", "PATCH", "GET", "DELETE", "OPTIONS", "HEAD"},
Expand Down

0 comments on commit d693b16

Please sign in to comment.