From e9416b11778ea2ca0b0958c960222394e3878f2d Mon Sep 17 00:00:00 2001 From: Dan Sully Date: Thu, 3 Oct 2013 09:46:55 -0700 Subject: [PATCH] Include subprocess in the gevent monkey patching to ensure consistent behavior between gevent 1.0b3 and 1.0rc3 --- gunicorn/__init__.py | 2 +- gunicorn/workers/ggevent.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/__init__.py b/gunicorn/__init__.py index a0338c0f..dde8b757 100644 --- a/gunicorn/__init__.py +++ b/gunicorn/__init__.py @@ -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__ diff --git a/gunicorn/workers/ggevent.py b/gunicorn/workers/ggevent.py index 75d27ea1..d3fb7320 100644 --- a/gunicorn/workers/ggevent.py +++ b/gunicorn/workers/ggevent.py @@ -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()