This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
polynum/gunicorn_config.py.example

18 lines
369 B
Plaintext

# use Python syntax !
#
# see : http://gunicorn.org/configure.html
daemon = True
bind = '127.0.0.1:3000'
import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = 'sync'
max_requests = 1000
accesslog = None # '/var/log/polynum/gunicorn-access.log'
errorlog = None # '/var/log/polynum/gunicorn-error.log'
loglevel = 'info' # 'debug'