mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
07df622b59
=== Do not change lines below === { "chain": [], "cmd": "git ls-files -z . | xargs --null -I '()' find './()' -type f -not -name 'style-guide.md' -print0 | xargs --null sed --in-place --regexp-extended 's/\\bNetbox\\b/NetBox/g;'", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^
17 lines
486 B
Python
17 lines
486 B
Python
# 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
|