会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
手可摘星辰。
博客园
首页
新随笔
联系
订阅
管理
2022年9月5日
gunicorn+Flask部署
摘要: 1.安装 pip3 install gunicorn 2.配置文件 import multiprocessing # 并行工作进程数, int,cpu数量*2+1 推荐进程数 workers = multiprocessing.cpu_count() * 2 + 1 # 指定每个工作者的线程数 th
阅读全文
posted @ 2022-09-05 14:29 手可摘星辰。
阅读(101)
评论(0)
推荐(0)
编辑
公告