Skip to content

Commit 70bc8f5

Browse files
committed
Gunicorn: remove psycogreen
1 parent 29861ad commit 70bc8f5

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

gcampus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515

1616
from django.utils.version import get_version
1717

18-
VERSION = (0, 9, 0, "final", 1)
18+
VERSION = (0, 9, 0, "final", 2)
1919
__version__ = get_version(VERSION)

gunicorn.conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@
1515

1616
from gunicorn.workers.base import Worker
1717
from gevent import monkey
18-
from psycogreen.gevent import patch_psycopg
1918

2019

2120
def post_fork_patch(server, worker: Worker):
2221
monkey.patch_all()
23-
patch_psycopg()
24-
worker.log.info("Patched 'psycopg'")
2522

2623

2724
wsgi_app = "gcampus.wsgi"

0 commit comments

Comments
 (0)