13 lines
284 B
Python
13 lines
284 B
Python
import multiprocessing
|
|
|
|
bind = "127.0.0.1:8000"
|
|
workers = multiprocessing.cpu_count() * 2 + 1
|
|
worker_class = "sync"
|
|
worker_connections = 1000
|
|
timeout = 30
|
|
keepalive = 2
|
|
|
|
errorlog = "/home/jqc/logs/gunicorn-error.log"
|
|
accesslog = "/home/jqc/logs/gunicorn-access.log"
|
|
loglevel = "info"
|