Stop pooling Postgres connections, because Django's pool isn't thread-safe and breaks under gevent
This commit is contained in:
parent
639e1ec9c6
commit
40f0bd858b
1 changed files with 0 additions and 1 deletions
|
@ -175,7 +175,6 @@ DATABASES = {
|
||||||
'USER': environ.get('POSTGRES_USER'),
|
'USER': environ.get('POSTGRES_USER'),
|
||||||
'PASSWORD': environ.get('POSTGRES_PASSWORD'),
|
'PASSWORD': environ.get('POSTGRES_PASSWORD'),
|
||||||
'HOST': environ.get('POSTGRES_HOST', 'localhost'),
|
'HOST': environ.get('POSTGRES_HOST', 'localhost'),
|
||||||
'CONN_MAX_AGE': 3600
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue