mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-30 20:40:25 +03:00
Пул CF worker: закрытие при остановке, OPTI, сборка, доки (#1411)
This commit is contained in:
@@ -536,6 +536,7 @@ async def _run(stop_event: Optional[asyncio.Event] = None):
|
||||
await _quiet_cancel(task)
|
||||
await server.wait_closed()
|
||||
await ws_pool.close()
|
||||
await cf_worker_pool.close()
|
||||
if cf_h2_pool is not None:
|
||||
await cf_h2_pool.close()
|
||||
cf_h2_pool = None
|
||||
|
||||
Reference in New Issue
Block a user