add support for transmission

This commit is contained in:
maxDorninger
2025-07-15 19:56:46 +02:00
parent d404663f16
commit b3c762040d
10 changed files with 249 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ db_url = (
+ config.dbname
)
engine = create_engine(db_url, echo=False)
engine = create_engine(db_url, echo=False,pool_size=10, max_overflow=10, pool_timeout=30, pool_recycle=1800)
log.debug("initializing sqlalchemy declarative base")
Base = declarative_base()
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)