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

pull/1/head
Danielle McLean 4 years ago
parent 639e1ec9c6
commit 40f0bd858b
Signed by: 00dani
GPG Key ID: 8EB789DDF3ABD240
  1. 1
      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
}
}

Loading…
Cancel
Save