mirror of
https://git.oceanpay.cc/danial/kami_jd_ck.git
synced 2025-12-18 22:11:07 +00:00
20 lines
454 B
Plaintext
20 lines
454 B
Plaintext
# 并行工作进程数
|
|
workers = 4
|
|
# 指定每个工作者的线程数
|
|
threads = 8
|
|
# 监听内网端口80
|
|
bind = '0.0.0.0:8289'
|
|
# 工作模式协程
|
|
worker_class = 'gevent'
|
|
# 设置最大并发量
|
|
worker_connections = 2000
|
|
# 设置进程文件目录
|
|
pidfile = 'gunicorn.pid'
|
|
# 设置访问日志和错误信息日志路径
|
|
accesslog = '-'
|
|
errorlog = '-'
|
|
# 设置日志记录水平
|
|
loglevel = 'info'
|
|
# 代码发生变化是否自动重启
|
|
reload = True
|