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

fix: Provide thread name for inspection #46

Merged
merged 4 commits into from
Mar 7, 2025

Conversation

yuki24
Copy link
Contributor

@yuki24 yuki24 commented Mar 7, 2025

This PR updates the client to assign a thread name that runs the stream. There is another PR launchdarkly/ruby-server-sdk#316 with a detailed explanation on why this is important. I believe this repository is maintained by the same team, so it would be great if you could take a look at it.

@yuki24 yuki24 requested a review from a team as a code owner March 7, 2025 07:44
@keelerm84 keelerm84 changed the title Provide a specific thread name for inspection fix: Provide thread name for inspection Mar 7, 2025
Copy link
Member

@keelerm84 keelerm84 left a comment

Choose a reason for hiding this comment

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

Thank you for this contribution! I will work on getting it released and folded into the SDK for you.

One thing I wanted to point out is that I did remove the host from the thread name. After some internal discussion, we have decided that isn't information we necessarily want to automatically inject.

@keelerm84 keelerm84 merged commit 191fd68 into launchdarkly:main Mar 7, 2025
9 of 10 checks passed
keelerm84 pushed a commit that referenced this pull request Mar 7, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.2.3](2.2.2...2.2.3)
(2025-03-07)


### Bug Fixes

* Provide thread name for inspection
([#46](#46))
([191fd68](191fd68))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@yuki24 yuki24 deleted the feature/thread-name branch March 8, 2025 00:37
@yuki24
Copy link
Contributor Author

yuki24 commented Mar 8, 2025

@keelerm84 Thanks for your quick response! Hot having a host name in the thread name is totally fine, 'LD/SSEClient' was the exact first name I came up with.

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.

2 participants