Skip to content

Commit

Permalink
fix: uvloop 2
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Nov 11, 2024
1 parent 0b7244f commit 317e809
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libs/infinity_emb/infinity_emb/infinity_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,12 @@ def v2(
)

uvicorn.run(
app, host=host, port=port, log_level=log_level.name, http="httptools", loop=loopname
app,
host=host,
port=port,
log_level=log_level.name,
http="httptools",
loop=loopname, # type: ignore
)

def cli():
Expand Down

0 comments on commit 317e809

Please sign in to comment.