Skip to content

Commit 05e1624

Browse files
committed
set uvicorn loop type
1 parent 2853537 commit 05e1624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idom/server/fastapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def _run_application(
137137
args: Tuple[Any, ...],
138138
kwargs: Dict[str, Any],
139139
) -> None:
140-
uvicorn.run(app, host=host, port=port, *args, **kwargs)
140+
uvicorn.run(app, host=host, port=port, loop="asyncio", *args, **kwargs)
141141

142142
def _run_application_in_thread(
143143
self,

0 commit comments

Comments
 (0)