摘要: 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) 编辑