mirror of
https://github.com/kodxana/madiator-docker-runpod.git
synced 2024-11-26 12:30:13 +01:00
19 lines
No EOL
379 B
Python
19 lines
No EOL
379 B
Python
# 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
|
|
|
|
# Server socket
|
|
bind = '0.0.0.0:7222'
|
|
|
|
# Logging
|
|
loglevel = 'info'
|
|
accesslog = '-'
|
|
errorlog = '-'
|
|
|
|
# Misc
|
|
daemon = False |