diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -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 diff --git a/configs/production.ini b/configs/production.ini --- a/configs/production.ini +++ b/configs/production.ini @@ -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