blob: dc7f2f67fbda9fadd5efda9c8ef8fb2564e3217e [file] [log] [blame]
Zack Williams048c6832020-08-02 21:14:35 -07001{#
2SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
3SPDX-License-Identifier: Apache-2.0
4#}
5# The IP address (typically localhost) and port that the Netbox WSGI process should listen on
6bind = 'localhost:8001'
7
8# Number of gunicorn workers to spawn. This should typically be 2n+1, where
9# n is the number of CPU cores present.
10workers = {{ ansible_processor_vcpus + 1 }}
11
12# Number of threads per worker process
13threads = 3
14
15# Timeout (in seconds) for a request to complete
16timeout = 120
17
18# The maximum number of requests a worker can handle before being respawned
19max_requests = 5000
20max_requests_jitter = 500