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