Skip to content

Commit 590e6dd

Browse files
committed
Enable Postgresql pool in production
1 parent 9159bec commit 590e6dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

website/settings/production.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
"default": {
3131
"ENGINE": "django.db.backends.postgresql",
3232
"NAME": "strykeforce",
33-
"CONN_MAX_AGE": 600,
33+
"OPTIONS": {
34+
"pool": True,
35+
},
3436
},
3537
}
3638

0 commit comments

Comments
 (0)