opencxl / opencxl

8 stars 2 forks source link

core: Ensure asyncio servers are ready to serve before calling _change_status_to_running() #123

Closed arter97 closed 2 weeks ago

arter97 commented 2 weeks ago
while not server.is_serving():
    await asyncio.sleep(0.1)

0.1s sleeps are dirty, but seems like a pretty standard practice.