Skip to content

Commit 9a5b538

Browse files
committed
Compatibility if uvloop is installed.
1 parent 52558f5 commit 9a5b538

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit_tests/test_axon.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,7 @@ async def lifespan(app):
811811
server = FastAPIThreadedServer(
812812
uvicorn.Config(
813813
app,
814+
loop="none"
814815
),
815816
)
816817
server.start()

0 commit comments

Comments
 (0)