KemoFureApi/gunicorn_config.py

13 lines
273 B
Python
Raw Permalink Normal View History

2024-02-01 16:05:14 +08:00
import multiprocessing
workers = 1 # multiprocessing.cpu_count() # * 2 + 1
bind = 'unix:flaskrest.sock'
umask = 0o007
reload = False
#logging
accesslog = '-'
errorlog = '-'
# accesslog = 'gunicorn.log'
# errorlog = 'gunicorn.error.log'
# capture_output = True