This PR does some light refactoring around the database.create_engine() function and its calls. The aim is to reuse the sqlalchemy engine, which should not be created multiple times in the same process. This should help preventing the system from using too many database clients
This PR does some light refactoring around the
database.create_engine()
function and its calls. The aim is to reuse the sqlalchemy engine, which should not be created multiple times in the same process. This should help preventing the system from using too many database clients