Stop pooling Postgres connections, because Django's pool isn't thread-safe and breaks under gevent

This commit is contained in:
Danielle McLean 2018-07-10 15:25:01 +10:00
parent 639e1ec9c6
commit 40f0bd858b
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240

View file

@ -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
}
}