Compare commits

...
1 Commits
+1 -1
View File
@@ -41,7 +41,7 @@ def run(
conf["forwarded_allow_ips"] = proxy conf["forwarded_allow_ips"] = proxy
conf.update(uvicorn_config) conf.update(uvicorn_config)
with suppress(KeyboardInterrupt): with suppress(KeyboardInterrupt, asyncio.CancelledError):
if reload or workers: if reload or workers:
serve_multiprocess(endpoints, **conf) serve_multiprocess(endpoints, **conf)
else: else: