Skip to content

Commit 609f74d

Browse files
committed
fix: Respect delay between checks in api.wait_deleted()
1 parent 0ddb62d commit 609f74d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/opalstack/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def wait_deleted(self, model_name, uuids, delay=5.0, tries=0):
131131
pending_uuids = list(uuids)
132132
i = 0
133133
while True:
134-
#time.sleep(delay)
134+
time.sleep(delay)
135135
i += 1
136136
log.debug(f'Checking deleted ({i}/{tries}) for {model_name} uuids: {repr(pending_uuids)}')
137137
for uuid in pending_uuids:

0 commit comments

Comments
 (0)