Skip to content

Commit

Permalink
fix: retry changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kx9x committed Jun 24, 2024
1 parent 0e59405 commit 0fc5c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multisig_ci/run_brownie.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


@custom_sentry_trace
@retry(stop=stop_after_attempt(5))
@retry(stop=stop_after_attempt(3))
@custom_sentry_trace
def run_brownie(args):
global current_try_count
Expand All @@ -32,7 +32,7 @@ def run_brownie(args):

p = Popen(args)

sleep_time = 3 + min(current_try_count * 3, 57)
sleep_time = 10 + min(current_try_count * 10, 60)
print(f"waiting for alive signal, sleeping for {sleep_time} seconds")
time.sleep(sleep_time)

Expand Down

0 comments on commit 0fc5c69

Please sign in to comment.