Files
bugsink/gunicorn.docker.conf.py
Klaas van Schelven ab7ad72376 Default worker-count in Docker: min(cpu_count, 4) instead of 1
As per discussion with @sekrause on #101

Briefly: recent reduction is a good idea, but 1 is probably too
little.
2025-05-18 11:18:54 +02:00

5 lines
116 B
Python

# gunicorn config file for Docker deployments
import multiprocessing
workers = min(multiprocessing.cpu_count(), 4)