forked from killua/TakwayPlatform
update: 不使用UVICORN的多worker模式
This commit is contained in:
parent
065528f509
commit
11c429befa
|
@ -3,9 +3,8 @@ import uvicorn
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
uvicorn.run("app.main:app", host=Config.UVICORN.HOST, port=Config.UVICORN.PORT, workers=Config.UVICORN.WORKERS)
|
uvicorn.run(app, host=Config.UVICORN.HOST, port=Config.UVICORN.PORT)
|
||||||
|
#uvicorn.run("app.main:app", host=Config.UVICORN.HOST, port=Config.UVICORN.PORT, workers=Config.UVICORN.WORKERS)
|
||||||
|
|
||||||
# _ooOoo_ #
|
# _ooOoo_ #
|
||||||
# o8888888o #
|
# o8888888o #
|
||||||
# 88" . "88 #
|
# 88" . "88 #
|
||||||
|
|
Loading…
Reference in New Issue