File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def load_model(model_name,
140140 )
141141 time .sleep (30 )
142142 # Check if server started
143- response = requests .get (f"{ infinity_api_url } /health" , timeout = 2 )
143+ response = requests .get (f"{ infinity_api_url } /health" , timeout = 10 )
144144 if response .status_code != 200 :
145145 raise Exception ("Infinity API health check failed after main start attempt" )
146146 except Exception as e :
@@ -159,7 +159,7 @@ def load_model(model_name,
159159 )
160160 time .sleep (30 )
161161 # Check again if the Infinity API server is running after fallback
162- response = requests .get (f"{ infinity_api_url } /health" , timeout = 2 )
162+ response = requests .get (f"{ infinity_api_url } /health" , timeout = 10 )
163163 if response .status_code != 200 :
164164 raise Exception ("Infinity API health check failed after fallback start attempt" )
165165 except Exception as e2 :
You can’t perform that action at this time.
0 commit comments