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

Ensure PooledConnectionProvider check only for event loop in the thread local #2168

Merged
merged 2 commits into from
Apr 27, 2022

Conversation

violetagg
Copy link
Member

EventLoopGroup.next() should be called only in cases it will be used
for example establishing a connection.
Pool.acquire(...) in most cases will reuse the connections and in
these cases EventLoopGroup.next() invocation is not needed.

…ad local

EventLoopGroup.next() should be called only in cases it will be used
for example establishing a connection.
Pool.acquire(...) in most cases will reuse the connections and in
these cases EventLoopGroup.next() invocation is not needed.
@violetagg violetagg added the type/bug A general bug label Apr 26, 2022
@violetagg violetagg added this to the 1.0.19 milestone Apr 26, 2022
@violetagg violetagg requested a review from a team April 26, 2022 10:54
Copy link
Member

@simonbasle simonbasle left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@pderop pderop left a comment

Choose a reason for hiding this comment

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

LGTM

@violetagg
Copy link
Member Author

@simonbasle @pderop Thanks for the review!

@violetagg violetagg merged commit fa345b0 into 1.0.x Apr 27, 2022
violetagg added a commit that referenced this pull request Apr 27, 2022
@violetagg violetagg deleted the eventloop-thread-local branch April 28, 2022 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants