From 03c942dfab6ef5c6c0f07eebaa425405a2960dbb Mon Sep 17 00:00:00 2001 From: elvischenv <219235043+elvischenv@users.noreply.github.com> Date: Tue, 11 Aug 2026 08:35:50 +0800 Subject: [PATCH] [Fix] Make wait_port_available actually wait timeout_s seconds (#33086) Co-authored-by: Claude Opus 5 (1M context) --- python/sglang/srt/utils/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/utils/network.py b/python/sglang/srt/utils/network.py index cec89c715..5c7803e41 100644 --- a/python/sglang/srt/utils/network.py +++ b/python/sglang/srt/utils/network.py @@ -88,7 +88,7 @@ def wait_port_available( logger.info( 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: raise ValueError(