mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Moved the gevent import later as it's causing gunicorn to fail to load when using this example hook.
This commit is contained in:
parent
30ba1943c0
commit
8e1bab434e
@ -1,4 +1,3 @@
|
||||
import gevent
|
||||
import logging
|
||||
import os
|
||||
import signal
|
||||
@ -27,5 +26,5 @@ def when_ready(server):
|
||||
break
|
||||
gevent.sleep(1)
|
||||
|
||||
gevent.Greenlet.spawn(monitor)
|
||||
|
||||
import gevent
|
||||
gevent.spawn(monitor)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user