diff --git a/src/app/database.py b/src/app/database.py index 2f1f8408..c6e6e2b2 100644 --- a/src/app/database.py +++ b/src/app/database.py @@ -109,6 +109,7 @@ def initialize_database() -> None: create_engine_kwargs = { "echo": echo, + "pool_pre_ping": True, } match db_config.db_type: