[Fix] Increase max wait time for server readiness to accommodate model loading (#1089)
Signed-off-by: Andy Zhou <46011930+AndyZhou952@users.noreply.github.com>
This commit is contained in:
1 parent
0e07eb6ff9
commit
c7fb59fd28
1 file changed
+1
-1
+1
-1
@@ -920,7 +920,7 @@ class OmniServer:
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Wait for server to be ready
|
# Wait for server to be ready
|
||||||
max_wait = 600 # 10 minutes
|
max_wait = 1200 # 20 minutes
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
while time.time() - start_time < max_wait:
|
while time.time() - start_time < max_wait:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user