Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
fix(scripts): set factory setting on uvicorn config.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschutt committed Nov 16, 2022
1 parent ab445c7 commit bce93f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/starlite_saqlalchemy/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def run_app() -> None:
"""Run the application."""
uvicorn_config = uvicorn.Config(
app=settings.server.APP_LOC,
factory=settings.server.APP_LOC_IS_FACTORY,
host=settings.server.HOST,
loop="none",
port=settings.server.PORT,
Expand Down

0 comments on commit bce93f3

Please sign in to comment.