mirror of https://github.com/status-im/cabot.git
Don't use gevent anymore
This commit is contained in:
parent
1ce3325ee2
commit
4227d7865f
|
@ -3,16 +3,5 @@
|
|||
|
||||
import os
|
||||
|
||||
import gevent
|
||||
from psycogreen.gevent import patch_psycopg
|
||||
|
||||
|
||||
bind = '127.0.0.1:%s' % os.environ['PORT']
|
||||
workers = 3
|
||||
worker_class = 'gevent'
|
||||
|
||||
|
||||
def post_fork(server, worker):
|
||||
gevent.monkey.patch_all()
|
||||
patch_psycopg()
|
||||
worker.log.info('Made psycopg green')
|
||||
|
|
Loading…
Reference in New Issue