CKAN version
Introduced in commit ae9eb13 which is related at least to 2.9.0, 2.9.1, 2.9.2.
Describe the bug
This is the ckan code:
# Enable pessimistic disconnect handling (added in SQLAlchemy 1.2)
# to eliminate database errors due to stale pooled connections
config.setdefault('pool_pre_ping', True)
# Initialize SQLAlchemy
engine = sqlalchemy.engine_from_config(config)
This is the sqlalchemy function:
def engine_from_config(configuration, prefix="sqlalchemy.", **kwargs):
I guess the pool_pre_ping config is not taken into account by sqlalchemy since it's missing the prefix.
CKAN version
Introduced in commit ae9eb13 which is related at least to 2.9.0, 2.9.1, 2.9.2.
Describe the bug
This is the ckan code:
This is the sqlalchemy function:
I guess the
pool_pre_pingconfig is not taken into account by sqlalchemy since it's missing the prefix.