fix: adjust gunicorn.conf.py
continuous-integration/drone/push Build is passing Details

This commit is contained in:
BryantHe 2023-10-24 17:30:14 +08:00
parent bffb0ac37a
commit 2ae347676c
1 changed files with 2 additions and 1 deletions

View File

@ -12,8 +12,9 @@ daemon = False
debug = False debug = False
worker_connections = 2000 worker_connections = 2000
workers = multiprocessing.cpu_count() * 2 + 1 workers = multiprocessing.cpu_count() * 2 + 1
# 指定每个工作者的线程数 # 指定每个工作者的线程数
threads = 10 # threads = 10
# pidfile = "/var/run/gunicorn.pid" # pidfile = "/var/run/gunicorn.pid"
# accesslog = '/var/log/gunicorn_access.log' # accesslog = '/var/log/gunicorn_access.log'