Skip to content

DATAREDIS-830 - Release Pub/Sub connection when closing LettuceSubscription #341

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

Closed
wants to merge 3 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented May 9, 2018

We now release the native connection back to the connection provider when LettuceSubscription is closed. Previously, we just closed the connection which interfered with pooling as pooling connection providers still had a reference to the connection.


We should backport this one to 2.0.x.
Related ticket: DATAREDIS-830.

mp911de added 3 commits May 9, 2018 08:29
…iption.

We now release the native connection back to the connection provider when LettuceSubscription is closed. Previously, we just closed the connection which interfered with pooling as pooling connection providers still had a reference on the connection.
Reformat code. Add override-comments. Encapsulate connection in LettuceSubscription. Fix typos.
christophstrobl pushed a commit that referenced this pull request May 22, 2018
…iption.

We now release the native connection back to the connection provider when LettuceSubscription is closed. Previously, we just closed the connection which interfered with pooling as pooling connection providers still had a reference on the connection.

Original Pull Request: #341
christophstrobl pushed a commit that referenced this pull request May 22, 2018
Reformat code. Add override-comments. Encapsulate connection in LettuceSubscription. Fix typos.

Original Pull Request: #341
christophstrobl added a commit that referenced this pull request May 22, 2018
Move Subscription initialization and update comments.

Original Pull Request: #341
christophstrobl pushed a commit that referenced this pull request May 22, 2018
…iption.

We now release the native connection back to the connection provider when LettuceSubscription is closed. Previously, we just closed the connection which interfered with pooling as pooling connection providers still had a reference on the connection.

Original Pull Request: #341
christophstrobl pushed a commit that referenced this pull request May 22, 2018
Reformat code. Add override-comments. Encapsulate connection in LettuceSubscription. Fix typos.

Original Pull Request: #341
christophstrobl added a commit that referenced this pull request May 22, 2018
Move Subscription initialization and update comments.

Original Pull Request: #341
@christophstrobl christophstrobl deleted the issue/DATAREDIS-830 branch May 22, 2018 12:47
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