ansible/roles/netbox/templates/gunicorn.py.j2
Markus Hauschild d4a9ccf43d
Some checks failed
continuous-integration/drone/push Build is failing
netbox: bump to 2.10.1 and add systemd service
2020-12-16 19:32:58 +01:00

17 lines
486 B
Django/Jinja

# The IP address (typically localhost) and port that the Netbox WSGI process should listen on
bind = '127.0.0.1:8001'
# Number of gunicorn workers to spawn. This should typically be 2n+1, where
# n is the number of CPU cores present.
workers = 5
# Number of threads per worker process
threads = 3
# Timeout (in seconds) for a request to complete
timeout = 120
# The maximum number of requests a worker can handle before being respawned
max_requests = 5000
max_requests_jitter = 500