Skip to content

Commit 791ff71

Browse files
author
neil
committed
speed up
1 parent 5fb2ac3 commit 791ff71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

anyvm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3350,7 +3350,7 @@ def supports_ansi_color(stream):
33503350

33513351
ret, timed_out = call_with_timeout(
33523352
ssh_base_cmd + ["exit"],
3353-
timeout_seconds=5,
3353+
timeout_seconds=1,
33543354
stdout=DEVNULL,
33553355
stderr=DEVNULL
33563356
)
@@ -3359,7 +3359,7 @@ def supports_ansi_color(stream):
33593359
if ret == 0:
33603360
success = True
33613361
break
3362-
time.sleep(2)
3362+
33633363

33643364
wait_timer_stop.set()
33653365
if wait_timer_thread:

0 commit comments

Comments
 (0)