﻿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
4650	Since [5482], mod_python keeps a stale database connection for each HTTP request	Ilya Semenov <semenov@…>	Adrian Holovaty	"Since [5482], a template is lazy-rendered. However under mod_python environment, the signal to close database connection (signals.request_finished) is sent before a template is actually rendered. If a connection is then reopened by demand during the rendering process, it will not be ever closed again and result in a stale connection, which soon overwhelms the database server.

Attached the proposed patch (sending the request_finished signal after the template is actually rendered).

Note: this can also fix #4612, though I'm not completely sure."		closed	Core (Other)	dev		fixed		ferringb@…	Unreviewed	1	0	0	0	0	0
