This repository has been archived on 2024-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
python-api-server/gunicorn_config.py

11 lines
178 B
Python
Raw Permalink Normal View History

2023-04-13 14:58:39 +02:00
bind = "0.0.0.0:5000"
workers = 2
threads = 4
2023-04-13 15:18:23 +02:00
import sys
accesslog = '-' # Log to stdout
errorlog = '-' # Log to stderr
sys.stdout = sys.stderr # Redirect stdout to stderr