Skip to content

Commit

Permalink
Merge pull request #2703 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
Dev merge
  • Loading branch information
GuillaumeDSM authored Aug 14, 2024
2 parents 27ef391 + 37b7741 commit f331f7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ async def httpx_retrier_wrapper(*args, **kwargs):
error = None
try:
resp: httpx.Response = await f(*args, **kwargs)
if resp.status_code == 502:
# waking up, retry
error = "bad gateway"
if resp.status_code in (502, 503):
# waking up or SLA issue, retry
error = f"{resp.status_code} error {resp.reason_phrase}"
else:
if i > 0:
commons_logging.get_logger(__name__).debug(
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Drakkar-Software requirements
OctoBot-Commons==1.9.51
OctoBot-Trading==2.4.95
OctoBot-Trading==2.4.97
OctoBot-Evaluators==1.9.5
OctoBot-Tentacles-Manager==2.9.15
OctoBot-Services==1.6.16
Expand Down

0 comments on commit f331f7d

Please sign in to comment.