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:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user