mirror of https://github.com/Nezreka/SoulSync.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
419 B
18 lines
419 B
"""Gunicorn configuration for production deployments."""
|
|
|
|
bind = "0.0.0.0:8008"
|
|
worker_class = "gthread"
|
|
workers = 1
|
|
threads = 8
|
|
|
|
# Keep requests from hanging forever on slow external services.
|
|
timeout = 120
|
|
|
|
# Keep shutdowns under Docker's stop window so container restarts stay graceful.
|
|
graceful_timeout = 8
|
|
|
|
# Logging goes to stdout/stderr so Docker can collect it.
|
|
accesslog = "-"
|
|
errorlog = "-"
|
|
loglevel = "info"
|