Skip to content

Conversation

@the-spectator
Copy link
Contributor

What was the end-user or developer problem that led to this PR?

This a housekeeping PR. Since bundler now requires 3.3.1, we no longer need to do respond_to? check before setting thread name.

What is your fix for the problem, implemented in this PR?

I was browsing the source code to learn about thread pool implementations and noticed an obsolete check based on the required Ruby version.

Make sure the following tasks are checked

Since bundler now requires 3.3.1, we no longer need to do respond_to?
check before setting thread name.
Copy link
Contributor

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

Cool, thank you for the cleanup!

@deivid-rodriguez deivid-rodriguez merged commit c980f4e into ruby:master Jan 27, 2025
91 checks passed
@the-spectator the-spectator deleted the thread_name branch January 27, 2025 17:33
@the-spectator
Copy link
Contributor Author

Thanks for the merge @deivid-rodriguez 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants