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

[1.2.8] Housekeeping timer thread never terminating / Connections remain opened #29

Closed
sjaenick opened this issue Jan 24, 2014 · 4 comments
Labels

Comments

@sjaenick
Copy link
Contributor

Hi,

I'm using HikariCP within a GlassFish 3.x application server. Datasources are created on demand, kept available for some time and closed after a certain timeout.

HikariPool#shutdown() currently isn't implemented, thus every datasource ever
created (and removed) "leaks" the associated connections as well as one timer
thread.

Probably, shutdown() should

  • close all connections
  • terminate the associated housekeeping timer thread
@brettwooldridge
Copy link
Owner

Agreed.

@brettwooldridge
Copy link
Owner

Available on dev branch now.

@sjaenick
Copy link
Contributor Author

Wow, that was fast. Thanks a lot.

@brettwooldridge
Copy link
Owner

HikariCP 1.2.9 will probably be out next week or the week after. You can
run from dev, 1.2.9-SNAPSHOT if you want, that is the only change in it so
far (but it's not on the maven repo, you'll have to 'mvm package' it
yourself).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants