fix pyworker miscounting active connections (#20)

* fix pyworker miscounting active connections

* clean up some issues

* add option to skip auth
This commit is contained in:
Nader Arbabian
2025-07-15 15:33:27 -07:00
committed by GitHub
parent 0bf2d04223
commit 6fb610cb5b
7 changed files with 59 additions and 43 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,