Skip to content

Commit

Permalink
auto fix sql connection
Browse files Browse the repository at this point in the history
  • Loading branch information
mruwnik committed Dec 17, 2023
1 parent bacfd1d commit 3825a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion align_data/db/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
logger = logging.getLogger(__name__)

# We create a single engine for the entire application
engine = create_engine(DB_CONNECTION_URI, echo=False)
engine = create_engine(DB_CONNECTION_URI, echo=False, pool_pre_ping=True)


@contextmanager
Expand Down

0 comments on commit 3825a32

Please sign in to comment.