bundlewrap/bundles/netbox/files/gunicorn_config.py

8 lines
219 B
Python
Raw Normal View History

2021-08-17 16:02:15 +00:00
command = '/opt/netbox/venv/bin/gunicorn'
pythonpath = '/opt/netbox/src/netbox'
bind = '127.0.0.1:22080'
workers = ${min(node.metadata.get('vm/cpu', 1), 6)*2+1}
threads = 1
max_requests = 5000
max_requests_jitter = 500