gunicorn.py 486 B

12345678910111213141516
  1. # The IP address (typically localhost) and port that the Netbox WSGI process should listen on
  2. bind = '127.0.0.1:8001'
  3. # Number of gunicorn workers to spawn. This should typically be 2n+1, where
  4. # n is the number of CPU cores present.
  5. workers = 5
  6. # Number of threads per worker process
  7. threads = 3
  8. # Timeout (in seconds) for a request to complete
  9. timeout = 120
  10. # The maximum number of requests a worker can handle before being respawned
  11. max_requests = 5000
  12. max_requests_jitter = 500