Skip to content

Commit

Permalink
fix: increase number of retries for SSM send_command to 60 (#140)
Browse files Browse the repository at this point in the history
Signed-off-by: Yutong Li <[email protected]>
  • Loading branch information
YutongLi291 authored Aug 14, 2024
1 parent 26bcbd5 commit e768f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deadline_test_fixtures/deadline/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def send_command(self, command: str) -> CommandResult:
#
# If we send an SSM command then we will get an InvalidInstanceId error
# if the instance isn't in that state.
NUM_RETRIES = 30
NUM_RETRIES = 60
SLEEP_INTERVAL_S = 10
for i in range(0, NUM_RETRIES):
LOG.info(f"Sending SSM command to instance {self.instance_id}")
Expand Down

0 comments on commit e768f38

Please sign in to comment.