Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F13142454
gunicorn.py
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
807 B
Referenced Files
None
Subscribers
None
gunicorn.py
View Options
# -------------------------------------------------------------
# Configure gunicorn
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
# The IP address (typically localhost) and port that the NetBox WSGI process should listen on
bind
=
"127.0.0.1:{{ app_port }}"
# Number of gunicorn workers to spawn. This should typically be 2n+1, where
# n is the number of CPU cores present.
workers
=
{{
grains
[
"num_cpus"
]
+
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 21, 16:15 (13 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3186583
Default Alt Text
gunicorn.py (807 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment