﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33584	Encourage using persistent database connections	Tom Carrick	Tom Carrick	"Sometimes I'm asked to review a Django project's performance. The most typical issues are probably N+1 selects and wasting time creating connections.

I propose encouraging setting `CONN_MAX_AGE` to a non-zero value by:

- Setting `CONN_MAX_AGE` to `None` or a reasonably high value in the generated `settings.py` - but keeping the default as-is for compatibility.
- Adding a deployment level system check to guard against a zero value.

Anyone who needs this to be `0` can easily change it and silence the system check, but I think most projects will benefit from this."	New feature	closed	Database layer (models, ORM)	dev	Normal	needsinfo		Florian Apolloner	Unreviewed	0	0	0	0	0	0
