Пул CF worker: закрытие при остановке, OPTI, сборка, доки (#1411)

This commit is contained in:
holdingq0 authored and GitHub committed 2026-10-10 22:36:55 +03:00
1 parent bf07b42f88
commit c317406b52
11 files changed
+78 -20

No files matched your search

+1
View File
@@ -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