plane/apiserver/gunicorn.config.py

6 lines
139 B
Python
Raw Normal View History

from psycogreen.gevent import patch_psycopg
def post_fork(server, worker):
patch_psycopg()
worker.log.info("Made Psycopg2 Green")