We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a89dff commit b713bc8Copy full SHA for b713bc8
pyproject.toml
@@ -106,7 +106,7 @@ gateway = [
106
server = [
107
"fastapi",
108
"starlette>=0.26.0",
109
- "uvicorn",
+ "uvicorn[standard]",
110
"aiorwlock",
111
"aiocache",
112
"httpx",
src/dstack/_internal/server/app.py
@@ -99,6 +99,7 @@ def create_app() -> FastAPI:
99
async def lifespan(app: FastAPI):
100
configure_logging()
101
server_executor = ThreadPoolExecutor(max_workers=settings.SERVER_EXECUTOR_MAX_WORKERS)
102
+ print(asyncio.get_running_loop())
103
asyncio.get_running_loop().set_default_executor(server_executor)
104
await migrate()
105
_print_dstack_logo()
0 commit comments