Content
You are here:
Connection closing after timeout
Added by Danny Ohley over 4 years ago
Hi,
I'm looking for the location in the code where the database connection (or the pool) is managed. My intention is to close unused database connection. The goal is, that there won't be any open database connection when the OpenProject isn't used for a couple of time.
If this isn't possible, another solution for me would be to open a connection per request. I know, this sounds like I'm asking for bad performance, but in my case it fits better.
Can someone show me the location in the source code?