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

Refactor TimeoutPoller into SQLServerTimeoutManager #913

Closed
wants to merge 16 commits into from

Conversation

shayaantx
Copy link
Contributor

As discussed in #909, we need to address the edge case where the timeout thread lives forever even after all the connections are closed and the classloader tries to unload the driver package.

Also addressed is the handling blocking interrupt calls within the timeout functionality

…ng timeouts and infinite polling checking for timeouts

Specifically in microsoft#842, I introduced a single thread to replace the infinite timeout thread pool. However the thread lives forever, so this change seeks to fix that. Also the interrupt logic before/after my change can block timeout threads. So this change also addresses that.
@shayaantx shayaantx closed this Dec 19, 2018
@lilgreenbird lilgreenbird added this to Closed/Merged PRs in MSSQL JDBC Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MSSQL JDBC
  
Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

None yet

1 participant