Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do allow to configure jdbcconfig datasource connection limits #221

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

groldan
Copy link
Member

@groldan groldan commented Apr 19, 2022

At some point we lost the ability to configure the connection pool limits, despite what spring-boot's documentation says.

Adds the following configuration properties to geoserver.backend.jdbcconfig.datasource:

minimumIdle: minimum number of connections in the pool
maximumPoolSize: maximum number of connection in the pool
connectionTimeout: connection time out in milliseconds (defaults to 250, which is also the minimum value)
idleTimeout: time in milliseconds before closing idle connections (defaults to 60000)

minimumIdle: minimum number of connections in the pool
maximumPoolSize: maximum number of connection in the pool
connectionTimeout: connection time out in milliseconds
(defaults to 250, which is also the minimum value)
idleTimeout: time in milliseconds before closing idle
connections (defaults to 60_000)
@groldan groldan added the bug Something isn't working label Apr 19, 2022
@groldan groldan merged commit 575287e into geoserver:main Apr 19, 2022
@groldan groldan deleted the bug/jdbcconfig_pool_size branch April 19, 2022 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant