fix
This commit is contained in:
1 parent
71743b25fe
commit
e19406cdd7
2 files changed
+5
-7
No files matched your search
@@ -90,14 +90,9 @@ async def periodic_usage_pool_cleanup():
|
||||
await asyncio.sleep(TIMEOUT_DURATION)
|
||||
|
||||
|
||||
async def on_startup():
|
||||
asyncio.create_task(periodic_usage_pool_cleanup())
|
||||
|
||||
|
||||
app = socketio.ASGIApp(
|
||||
sio,
|
||||
socketio_path="/ws/socket.io",
|
||||
on_startup=on_startup(),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user