Description
The database connection pool is configured with pool_recycle=60 (60 seconds) in montage/app.py, which causes SQLAlchemy to recycle database connections every minute. This may be creating unnecessary overhead by constantly recreating connections.
# Line 75
engine = create_engine(config.get('db_url', DEFAULT_DB_URL), pool_recycle=60)
# Line 126
engine = create_engine(db_url, pool_recycle=60)
Is there a specific reason for this recycle period (60s)?