Skip to content

Commit f57532b

Browse files
authored
add TODO comment about backoff logic reuse
1 parent 4f52e85 commit f57532b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

verda/clusters/_clusters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def create(
173173
return self.get_by_id(id)
174174

175175
# Wait for cluster to enter creating state with timeout
176+
# TODO(shamrin) extract backoff logic, _instances module has the same code
176177
deadline = time.monotonic() + max_wait_time
177178
for i in itertools.count():
178179
cluster = self.get_by_id(id)

0 commit comments

Comments
 (0)