config: reduced gunicorn backlog default to handle less connections per worker
This commit is contained in:
parent
f051e2a56e
commit
971b015bdf
2 changed files with 6 additions and 0 deletions
|
|
@ -80,6 +80,9 @@ asyncore_use_poll = true
|
|||
; The maximum number of simultaneous clients. Valid only for gevent
|
||||
#worker_connections = 10
|
||||
|
||||
; The maximum number of pending connections worker will queue to handle
|
||||
#backlog = 64
|
||||
|
||||
; Max number of requests that worker will handle before being gracefully restarted.
|
||||
; Prevents memory leaks, jitter adds variability so not all workers are restarted at once.
|
||||
#max_requests = 1000
|
||||
|
|
|
|||
|
|
@ -63,6 +63,9 @@ worker_class = gevent
|
|||
; The maximum number of simultaneous clients per worker. Valid only for gevent
|
||||
worker_connections = 10
|
||||
|
||||
; The maximum number of pending connections worker will queue to handle
|
||||
backlog = 64
|
||||
|
||||
; Max number of requests that worker will handle before being gracefully restarted.
|
||||
; Prevents memory leaks, jitter adds variability so not all workers are restarted at once.
|
||||
max_requests = 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue