mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Include subprocess in the gevent monkey patching to ensure consistent behavior between gevent 1.0b3 and 1.0rc3
This commit is contained in:
parent
308081948f
commit
e9416b1177
@ -3,6 +3,6 @@
|
|||||||
# This file is part of gunicorn released under the MIT license.
|
# This file is part of gunicorn released under the MIT license.
|
||||||
# See the NOTICE for more information.
|
# See the NOTICE for more information.
|
||||||
|
|
||||||
version_info = (18, 0)
|
version_info = (18, 1)
|
||||||
__version__ = ".".join([str(v) for v in version_info])
|
__version__ = ".".join([str(v) for v in version_info])
|
||||||
SERVER_SOFTWARE = "gunicorn/%s" % __version__
|
SERVER_SOFTWARE = "gunicorn/%s" % __version__
|
||||||
|
|||||||
@ -68,7 +68,7 @@ class GeventWorker(AsyncWorker):
|
|||||||
def patch(self):
|
def patch(self):
|
||||||
from gevent import monkey
|
from gevent import monkey
|
||||||
monkey.noisy = False
|
monkey.noisy = False
|
||||||
monkey.patch_all()
|
monkey.patch_all(subprocess=True)
|
||||||
|
|
||||||
# monkey patch sendfile to make it none blocking
|
# monkey patch sendfile to make it none blocking
|
||||||
patch_sendfile()
|
patch_sendfile()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user