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

Use Generic Name for SimplePool Connection Threads (1.6.x) #2090

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

miklish
Copy link
Collaborator

@miklish miklish commented Jan 26, 2024

Issue: #2089

Currently SimplePool connection threads are named either "Callback-HTTP11" or "Callback-HTTP2" depending on the type of connection.

However, since this threadpool is only named ONCE, then the name of all SimplePool connection threads is based on the first type of connection that SimplePool was asked to make (HTTP/1.1 or HTTP/2).

This can cause misleading messages in the logs, since if subsequent calls to the pool create different connection types, then the thread name and connection type won't match.

E.g.: If an HTTP/1.1 connection is the first connection the pool makes, then any subsequent HTTP/2 connection threads will have the name "Callback-HTTP11".

@stevehu
Copy link
Contributor

stevehu commented Apr 9, 2024

@miklish Are we ready to merge this PR? Thanks.

@miklish
Copy link
Collaborator Author

miklish commented Apr 10, 2024

@stevehu yes this can be merged thank you

@stevehu stevehu merged commit 4804533 into 1.6.x Apr 10, 2024
1 check failed
@stevehu stevehu deleted the issue2089 branch April 10, 2024 00:25
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.

3 participants