Skip to content

Commit bc4f318

Browse files
committed
Update sidecar retry
1 parent 7868e5f commit bc4f318

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/polyaxon/_sidecar/container/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async def monitor():
129129
while is_running:
130130
await asyncio.sleep(sleep_interval)
131131
if retry:
132-
await asyncio.sleep(retry * 2)
132+
await asyncio.sleep(retry ** 2)
133133
try:
134134
is_running = await k8s_manager.is_pod_running(pod_id, container_id)
135135
except ApiException as e:

0 commit comments

Comments
 (0)