From 40f0bd858bd4adeeb63d1fb19979d67080f9bd80 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 10 Jul 2018 15:25:01 +1000 Subject: [PATCH] Stop pooling Postgres connections, because Django's pool isn't thread-safe and breaks under gevent --- lemoncurry/settings/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lemoncurry/settings/base.py b/lemoncurry/settings/base.py index efc25ae..a25305e 100644 --- a/lemoncurry/settings/base.py +++ b/lemoncurry/settings/base.py @@ -175,7 +175,6 @@ DATABASES = { 'USER': environ.get('POSTGRES_USER'), 'PASSWORD': environ.get('POSTGRES_PASSWORD'), 'HOST': environ.get('POSTGRES_HOST', 'localhost'), - 'CONN_MAX_AGE': 3600 } }