This new system will make sure that connections are closed (returned to the sqlalchemy pool) as soon as a specific query block is finished, rather than at the end of the full request.
This makes sure that even with a lot of modules enabled, we don't have lots of open database connections during a single request.
This new system will make sure that connections are closed (returned to the sqlalchemy pool) as soon as a specific query block is finished, rather than at the end of the full request.
This makes sure that even with a lot of modules enabled, we don't have lots of open database connections during a single request.