Skip to content

Commit 43a25d5

Browse files
authored
Don't use uvloop (#1396)
1 parent 2dc1e77 commit 43a25d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shiny/_main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@ def run_app(
364364
app_dir=app_dir,
365365
factory=factory,
366366
lifespan="on",
367+
# Don't allow shiny to use uvloop!
368+
# https://github.com/posit-dev/py-shiny/issues/1373
369+
loop="asyncio",
367370
**reload_args, # pyright: ignore[reportArgumentType]
368371
**kwargs,
369372
)

0 commit comments

Comments
 (0)