MCPcopy Index your code
hub / github.com/ModelTC/LightLLM / wait_to_ready

Method wait_to_ready

lightllm/server/httpserver/async_queue.py:10–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8 self.lock = asyncio.Lock()
9
10 async def wait_to_ready(self):
11 try:
12 await asyncio.wait_for(self.event.wait(), timeout=3)
13 except asyncio.TimeoutError:
14 pass
15
16 async def get_all_data(self):
17 async with self.lock:

Callers 1

wait_to_get_all_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected