mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
we don't do anythiung in __init__, remove these lines.
This commit is contained in:
parent
14313985d6
commit
ba89a400dc
@ -51,9 +51,6 @@ class GGeventServer(StreamServer):
|
|||||||
|
|
||||||
class GeventWorker(AsyncWorker):
|
class GeventWorker(AsyncWorker):
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
|
||||||
super(GeventWorker, self).__init__(*args, **kwargs)
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setup(cls):
|
def setup(cls):
|
||||||
from gevent import monkey
|
from gevent import monkey
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user