blob: dc7f2f67fbda9fadd5efda9c8ef8fb2564e3217e [file] [log] [blame]
{#
SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
SPDX-License-Identifier: Apache-2.0
#}
# The IP address (typically localhost) and port that the Netbox WSGI process should listen on
bind = 'localhost:8001'
# Number of gunicorn workers to spawn. This should typically be 2n+1, where
# n is the number of CPU cores present.
workers = {{ ansible_processor_vcpus + 1 }}
# 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