From 825f205dfb94582691a85484bafd91fd5837a4e7 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Tue, 24 May 2016 23:46:55 +0200 Subject: [PATCH] configs: show worker_connection option for gunicorn --- configs/development.ini | 2 ++ configs/production.ini | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/development.ini b/configs/development.ini index c9f2c3a9..146a4007 100644 --- a/configs/development.ini +++ b/configs/development.ini @@ -65,6 +65,8 @@ asyncore_use_poll = true ## type of worker class, one of sync, gevent ## recommended for bigger setup is using of of other than sync one #worker_class = sync +## The maximum number of simultaneous clients. Valid only for Gevent +#worker_connections = 10 ## max number of requests that worker will handle before being gracefully ## restarted, could prevent memory leaks #max_requests = 1000 diff --git a/configs/production.ini b/configs/production.ini index 856e442f..1802bb83 100644 --- a/configs/production.ini +++ b/configs/production.ini @@ -65,6 +65,8 @@ asyncore_use_poll = true ## type of worker class, one of sync, gevent ## recommended for bigger setup is using of of other than sync one #worker_class = sync +## The maximum number of simultaneous clients. Valid only for Gevent +#worker_connections = 10 ## max number of requests that worker will handle before being gracefully ## restarted, could prevent memory leaks #max_requests = 1000