[Fix] Make wait_port_available actually wait timeout_s seconds (#33086)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
a92bbf2f24
commit
03c942dfab
@@ -88,7 +88,7 @@ def wait_port_available(
|
|||||||
logger.info(
|
logger.info(
|
||||||
f"port {port} is in use. Waiting for {i} seconds for {port_name} to be available. {error_message}"
|
f"port {port} is in use. Waiting for {i} seconds for {port_name} to be available. {error_message}"
|
||||||
)
|
)
|
||||||
time.sleep(0.1)
|
time.sleep(1)
|
||||||
|
|
||||||
if raise_exception:
|
if raise_exception:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
|
|||||||
Reference in New Issue
Block a user