Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ class ProxyClient:
|
|
| 128 |
"""健康检查"""
|
| 129 |
try:
|
| 130 |
url = f"{self.base_url}/health"
|
| 131 |
-
response = self.session.get(url, timeout=
|
| 132 |
response.raise_for_status()
|
| 133 |
return response.json()
|
| 134 |
except Exception as e:
|
|
|
|
| 128 |
"""健康检查"""
|
| 129 |
try:
|
| 130 |
url = f"{self.base_url}/health"
|
| 131 |
+
response = self.session.get(url, timeout=self.timeout)
|
| 132 |
response.raise_for_status()
|
| 133 |
return response.json()
|
| 134 |
except Exception as e:
|