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

GenericDataSource enhancement to allow to set HikariDataSource other setting values #970

Closed
GavinChenYan opened this issue Jun 25, 2021 · 2 comments
Assignees

Comments

@GavinChenYan
Copy link
Contributor

Currently GenericDataSource set two HikariDataSource setting

    ds.setMaximumPoolSize((Integer)mainParams.get("maximumPoolSize"));
    ds.setConnectionTimeout((Integer)mainParams.get("connectionTimeout"));

We can enhance the GenericDataSource to allow user set other values, for example:

HikariDataSource setConnectionTestQuery
HikariDataSource setLeakDetectionThreshold
...

@GavinChenYan GavinChenYan self-assigned this Jun 25, 2021
GavinChenYan added a commit that referenced this issue Jun 29, 2021
GavinChenYan added a commit that referenced this issue Jun 29, 2021
stevehu pushed a commit that referenced this issue Jun 29, 2021
@stevehu
Copy link
Contributor

stevehu commented Jun 29, 2021

@stevehu
Copy link
Contributor

stevehu commented Jun 29, 2021

younggwon1 pushed a commit to younggwon1/light-4j that referenced this issue Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants