Fix database.py syntax and update pool config

This commit is contained in:
longda 2026-03-24 22:31:59 +08:00
parent bb33d37087
commit 19e2ae6b0e
1 changed files with 0 additions and 5 deletions

View File

@ -11,13 +11,8 @@ DATABASE_URL = os.getenv(
engine = create_engine(
DATABASE_URL,
pool_pre_ping=True,
<<<<<<< Updated upstream
pool_size=20,
max_overflow=40,
=======
pool_size=20,
max_overflow=40,
>>>>>>> Stashed changes
pool_recycle=3600,
pool_timeout=30,
echo=False