2 Star 16 Fork 12

SteveRocket/PythonFramework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gunicorn_conf_base.py 345 Bytes
一键复制 编辑 原始数据 按行查看 历史
SteveRocket 提交于 2022-10-26 20:45 . tornado sample
# gunicorn.conf
bind = "0.0.0.0:80" # 监听所有ip的80端口
workers = 4 # 启用4个线程。一般workers = CPU核心数+1就比较合适
backlog = 2048
pidfile = "./gunicorn.pid"
accesslog = "./access.log" # 用户访问日志位置
errorlog = "./error.log" # 程序异常日志位置
timeout = 30
debug = False
capture_output = True
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/SteveRocket/python_framework.git
[email protected]:SteveRocket/python_framework.git
SteveRocket
python_framework
PythonFramework
master

搜索帮助