Fix database.py syntax and update pool config
This commit is contained in:
parent
bb33d37087
commit
19e2ae6b0e
|
|
@ -11,13 +11,8 @@ DATABASE_URL = os.getenv(
|
||||||
engine = create_engine(
|
engine = create_engine(
|
||||||
DATABASE_URL,
|
DATABASE_URL,
|
||||||
pool_pre_ping=True,
|
pool_pre_ping=True,
|
||||||
<<<<<<< Updated upstream
|
|
||||||
pool_size=20,
|
pool_size=20,
|
||||||
max_overflow=40,
|
max_overflow=40,
|
||||||
=======
|
|
||||||
pool_size=20,
|
|
||||||
max_overflow=40,
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
pool_recycle=3600,
|
pool_recycle=3600,
|
||||||
pool_timeout=30,
|
pool_timeout=30,
|
||||||
echo=False
|
echo=False
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue