mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #648 from wolever/patch-1
Fix "global name 'hub' is not defined"
This commit is contained in:
commit
88abcc73d9
@ -188,7 +188,7 @@ class GeventWorker(AsyncWorker):
|
|||||||
self.patch()
|
self.patch()
|
||||||
|
|
||||||
# reinit the hub
|
# reinit the hub
|
||||||
from gevent.hub import reinit
|
from gevent import hub
|
||||||
hub.reinit()
|
hub.reinit()
|
||||||
|
|
||||||
# then initialize the process
|
# then initialize the process
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user