Skip to content

fix: use daemon threads internally #2118

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

Merged
merged 2 commits into from
Feb 25, 2025
Merged

fix: use daemon threads internally #2118

merged 2 commits into from
Feb 25, 2025

Conversation

kgala2
Copy link
Contributor

@kgala2 kgala2 commented Feb 21, 2025

Without using daemon threads, the Connector will prevent a calling process from exiting cleanly.

Fixes #2119
Reference: GoogleCloudPlatform/alloydb-java-connector/pull/618

@kgala2 kgala2 requested a review from a team as a code owner February 21, 2025 20:31
@jackwotherspoon
Copy link
Collaborator

@kgala2 is this still a draft? the PR title has "- draft" in it...

@enocom
Copy link
Member

enocom commented Feb 24, 2025

This should be marked as a "fix" too -- it's a minor bug, but still a bug.

@kgala2 kgala2 changed the title chore(csql): use daemon threads internally - draft fix: use daemon threads internally Feb 24, 2025
@kgala2 kgala2 linked an issue Feb 24, 2025 that may be closed by this pull request
@kgala2 kgala2 marked this pull request as draft February 24, 2025 21:25
@kgala2 kgala2 marked this pull request as ready for review February 24, 2025 22:42
Copy link
Collaborator

@jackwotherspoon jackwotherspoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice PR! 👏 ✅

@kgala2 kgala2 merged commit c82d4ca into main Feb 25, 2025
17 checks passed
@kgala2 kgala2 deleted the daemon-threads branch February 25, 2025 17:57
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

Successfully merging this pull request may close these issues.

InternalConnectorRegistry.java uses non-daemon threads
4 participants