Allow params such as "pool_pre_ping" and "poolclass" to be passed to sa.create_engine in SQLTrackerStore

Description

I’d like to tune other create_engine parameters beyond pool_size and max_overflow. It would really help with my postgres setup.

 

Here’s the permalink to the line that creates the sqlalchemy engine:

Activity

Show:

leomichalski August 14, 2024 at 7:27 PM

I’m definitely willing to work on a PR for this. Just need some guidance on how to implement it. What about a dict that is read from an environment variable?

Assignee

Reporter

Labels

Difficulty

Created August 14, 2024 at 7:24 PM
Updated August 14, 2024 at 7:27 PM