We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90af6cf commit 98d562dCopy full SHA for 98d562d
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