完成timescaledb获取在线模拟数据的方法
This commit is contained in:
@@ -14,7 +14,7 @@ if __name__ == "__main__":
|
||||
host="0.0.0.0",
|
||||
port=8000,
|
||||
loop="asyncio", # 强制使用 asyncio 事件循环
|
||||
# workers=4, # 如果需要多进程,可以取消注释
|
||||
workers=2, # 如果需要多进程,可以取消注释
|
||||
)
|
||||
server = uvicorn.Server(config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user