Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed May 2, 2016
1 parent 674b4bb commit 9fa2dbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/example_config.py
Expand Up @@ -70,7 +70,7 @@
# A positive integer. Generally set in the 1-5 seconds range.
#

workers = 1
workers = 4
worker_class = 'sync'
worker_connections = 1000
timeout = 30
Expand Down
3 changes: 2 additions & 1 deletion gunicorn/workers/gtornado.py
Expand Up @@ -27,7 +27,8 @@ def setup(cls):

def clear(self):
old_clear(self)
self._headers["Server"] += " (Gunicorn/%s)" % gversion
if not "Gunicorn" in self._headers["Server"]:
self._headers["Server"] += " (Gunicorn/%s)" % gversion
web.RequestHandler.clear = clear
sys.modules["tornado.web"] = web

Expand Down

0 comments on commit 9fa2dbd

Please sign in to comment.