AUTO-421: fix pyworker miscounting active connections

This commit is contained in:
Nader Arbabian
2025-07-10 19:27:55 -07:00
parent 0bf2d04223
commit 3e49b7d04b
2 changed files with 9 additions and 21 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ def start_server(backend: Backend, routes: List[web.RouteDef], **kwargs):
log.debug("starting server...")
app = web.Application()
app.add_routes(routes)
runner = web.AppRunner(app)
runner = web.AppRunner(app, handler_cancellation=True)
await runner.setup()
site = web.TCPSite(
runner,