Skip to content

Commit

Permalink
Increase wait timeout when importing the snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Sep 21, 2024
1 parent 289edc8 commit ebd4a14
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion openbsd
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,13 @@ class AWS:
iid = is_rsp["ImportTaskId"]
self.logger.debug(f"waiting for snapshot import to complete: {iid}")

self.ec2.get_waiter("snapshot_imported").wait(ImportTaskIds=[iid])
self.ec2.get_waiter("snapshot_imported").wait(
ImportTaskIds=[iid],
WaiterConfig={
'Delay': 30,
'MaxAttempts': 80,
},
)

dist_rsp = self.ec2.describe_import_snapshot_tasks(ImportTaskIds=[iid])
si = None
Expand Down

0 comments on commit ebd4a14

Please sign in to comment.