Let uvicorn choose the event loop
This commit is contained in:
parent
3ea0e8e693
commit
0dd953160c
1 changed files with 1 additions and 2 deletions
|
|
@ -4,6 +4,5 @@ from .settings import settings
|
||||||
|
|
||||||
|
|
||||||
class RunboatUvicornWorker(UvicornWorker):
|
class RunboatUvicornWorker(UvicornWorker):
|
||||||
CONFIG_KWARGS = {"loop": "asyncio"}
|
|
||||||
if settings.log_config:
|
if settings.log_config:
|
||||||
CONFIG_KWARGS["log_config"] = settings.log_config
|
UvicornWorker.CONFIG_KWARGS["log_config"] = settings.log_config
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue