more handling of env vars

This commit is contained in:
CEF Server 2024-07-27 21:59:05 +00:00
parent 32a1736cee
commit 337a3e8167
6 changed files with 52 additions and 118 deletions

View file

@ -14,13 +14,13 @@ except:
dburl = config.DBURL
engine = create_engine(
alembic.get("alembic", "sqlalchemy.url"),
dburl,
pool_pre_ping=True,
pool_recycle=1800
)
ergoEngine = create_engine(
alembic.get("alembic", "sqlalchemy.url"),
dburl,
pool_pre_ping=True,
pool_recycle=1800
)