madiator-docker-runpod/official-templates/better-ai-launcher/app/gunicorn.conf.py

19 lines
379 B
Python
Raw Normal View History

2024-10-12 14:46:41 +02:00
# Gunicorn configuration file
import multiprocessing
# Worker settings
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = 'geventwebsocket.gunicorn.workers.GeventWebSocketWorker'
worker_connections = 1000
timeout = 0 # Disable timeout completely
2024-10-12 14:46:41 +02:00
# Server socket
bind = '0.0.0.0:7222'
# Logging
loglevel = 'info'
accesslog = '-'
errorlog = '-'
# Misc
daemon = False