Include subprocess in the gevent monkey patching to ensure consistent behavior between gevent 1.0b3 and 1.0rc3

This commit is contained in:
Dan Sully 2013-10-03 09:46:55 -07:00 committed by benoitc
parent 308081948f
commit e9416b1177
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
version_info = (18, 0)
version_info = (18, 1)
__version__ = ".".join([str(v) for v in version_info])
SERVER_SOFTWARE = "gunicorn/%s" % __version__

View File

@ -68,7 +68,7 @@ class GeventWorker(AsyncWorker):
def patch(self):
from gevent import monkey
monkey.noisy = False
monkey.patch_all()
monkey.patch_all(subprocess=True)
# monkey patch sendfile to make it none blocking
patch_sendfile()