2 ms·
A quick look at the repo shows that persistent connections are enabled for every application but Django, which should have CONN_MAX_AGE set to something greater
by acdha 12y ago
A quick look at the repo shows that persistent connections are enabled for every application but Django, which should have CONN_MAX_AGE set to something greater than the default 0 to avoid being a benchmark for how quickly Postgres can open connections:
https://github.com/Eyepea/API-Hour/blob/3e43b61cbaa3045ec3d0fc579c4ca8d296bd172e/benchmarks/django/benchmarks/benchmarks/settings.py#L58-L76 https://github.com/Eyepea/API-Hour/blob/3e43b61cbaa3045ec3d0...