mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-01 15:02:09 +00:00
Longer timeout
This commit is contained in:
parent
df4b1ec936
commit
110b9a0b4c
@ -269,7 +269,7 @@ class LauncherHandle:
|
|||||||
def _inner_health(self):
|
def _inner_health(self):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
async def health(self, timeout: int = 60):
|
async def health(self, timeout: int = 240):
|
||||||
assert timeout > 0
|
assert timeout > 0
|
||||||
for _ in range(timeout):
|
for _ in range(timeout):
|
||||||
if not self._inner_health():
|
if not self._inner_health():
|
||||||
|
Loading…
Reference in New Issue
Block a user