We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d02fc6c commit c11b9b2Copy full SHA for c11b9b2
datacrunch/instances/instances.py
@@ -179,8 +179,7 @@ def create(self,
179
180
# Wait for instance to enter provisioning state with timeout
181
interval = min(initial_interval, max_interval)
182
- start = time.monotonic()
183
- deadline = start + max_wait_time
+ deadline = time.monotonic() + max_wait_time
184
while True:
185
instance = self.get_by_id(id)
186
if instance.status != InstanceStatus.ORDERED:
0 commit comments