mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-10-21 02:58:45 +00:00
Пул CF worker: закрытие при остановке, OPTI, сборка, доки (#1411)
This commit is contained in:
1 parent
bf07b42f88
commit
c317406b52
11 files changed
+78
-20
No files matched your search
@@ -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