Skip to content

Commit

Permalink
Fix: Give in total 60 second to the VM to respond the ping.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres D. Molins authored and hoh committed Oct 9, 2023
1 parent bb6b9b0 commit 1849b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm_supervisor/vm/firecracker/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ async def wait_for_init(self) -> None:

ip = ip.split("/", 1)[0]

attempts = 10
timeout_seconds = 1.0
attempts = 30
timeout_seconds = 2.0

for attempt in range(attempts):
try:
Expand Down

0 comments on commit 1849b83

Please sign in to comment.