﻿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
22146	Database-Connections time out in long running Applications without request context.	kahnert	nobody	"If you use the Django-ORM outside of request handling, in uWSGI mules for example, connections time out. The expected behavior would be to reconnect on the next command issued.
But because the checks for unusable connections is bound to request signals those get never called.

An easy solution would be to call `self.close_if_unusable_or_obsolete()` at first in `BaseDatabaseWrapper.ensure_connection`."	Bug	closed	Database layer (models, ORM)	1.6	Normal	duplicate			Unreviewed	0	0	0	0	0	0
