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

Add configuration parameters for JDBC connection pool #3542

Closed
mattkaem opened this issue Sep 20, 2023 · 5 comments · Fixed by #3548
Closed

Add configuration parameters for JDBC connection pool #3542

mattkaem opened this issue Sep 20, 2023 · 5 comments · Fixed by #3548
Assignees
Labels
Feature Request A request for adding new functionality to Hono JDBC Device Registry The JDBC based Device Registry implementation
Milestone

Comments

@mattkaem
Copy link
Contributor

Currently, the only configuration that can be done for the JDBC connection pool, besides the connection to the database of course, is the maximum number of connections. I would like to enhance this with configuration parameters for the minimum number of connections, the initial number of connections and the maximum idle timeout.

@mattkaem mattkaem added the JDBC Device Registry The JDBC based Device Registry implementation label Sep 20, 2023
@sophokles73
Copy link
Contributor

is this related to #3539 ?

@mattkaem
Copy link
Contributor Author

I would say so, yes. It is the same connections pool that has to be altered.

@sophokles73
Copy link
Contributor

Well, that I understood. The question is more: will your activities also address the issue raised in #3539?

@mattkaem
Copy link
Contributor Author

No this will not address #3539

@sophokles73
Copy link
Contributor

Looking forward to the PR :-)

mattkaem added a commit to sotec-iot/hono that referenced this issue Sep 25, 2023
…mIdleTime as parameters to the JDBC configuration

Signed-off-by: Matthias Kaemmer <[email protected]>
@sophokles73 sophokles73 added the Feature Request A request for adding new functionality to Hono label Oct 4, 2023
@sophokles73 sophokles73 added this to the 2.5.0 milestone Oct 4, 2023
mattkaem added a commit to sotec-iot/hono that referenced this issue Nov 2, 2023
…mIdleTime as parameters to the JDBC configuration

Signed-off-by: Matthias Kaemmer <[email protected]>
sophokles73 pushed a commit that referenced this issue Nov 4, 2023
Added minimumPoolSize, initialPoolSize and maximumIdleTime as parameters to the JDBC configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request A request for adding new functionality to Hono JDBC Device Registry The JDBC based Device Registry implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants