Skip to content

Commit fd237cd

Browse files
committed
Increase wait timeout when importing the snapshot
1 parent cfecc51 commit fd237cd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

openbsd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,13 @@ class AWS:
20062006
iid = is_rsp["ImportTaskId"]
20072007
self.logger.debug(f"waiting for snapshot import to complete: {iid}")
20082008

2009-
self.ec2.get_waiter("snapshot_imported").wait(ImportTaskIds=[iid])
2009+
self.ec2.get_waiter("snapshot_imported").wait(
2010+
ImportTaskIds=[iid],
2011+
WaiterConfig={
2012+
'Delay': 30,
2013+
'MaxAttempts': 80,
2014+
},
2015+
)
20102016

20112017
dist_rsp = self.ec2.describe_import_snapshot_tasks(ImportTaskIds=[iid])
20122018
si = None

0 commit comments

Comments
 (0)