mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-12 01:16:58 +00:00
config is defaulted to true in default.py
This commit is contained in:
parent
8f86ff5f84
commit
195aedcf3c
@ -73,8 +73,6 @@ def setup_database_configs(app: Flask) -> None:
|
||||
pool_size = 5
|
||||
|
||||
pool_pre_ping = app.config.get("SPIFFWORKFLOW_BACKEND_DATABASE_POOL_PRE_PING")
|
||||
if pool_pre_ping is None:
|
||||
pool_pre_ping = True
|
||||
|
||||
app.config["SQLALCHEMY_ENGINE_OPTIONS"] = {}
|
||||
app.config["SQLALCHEMY_ENGINE_OPTIONS"]["pool_size"] = pool_size
|
||||
|
Loading…
x
Reference in New Issue
Block a user