mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 01:54:00 +02:00
add support for transmission
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user