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

[IMPROVED] Suppress UNSUB when auto-unsub max is reached #560

Merged
merged 1 commit into from
Jul 18, 2022
Merged

Conversation

kozlovic
Copy link
Member

In case where the subscription is destroyed by the user from the
message callback but it was the message that would cause the
limit to be reached, the UNSUB protocol was still sent to the
server.

Resolves #558

Signed-off-by: Ivan Kozlovic ivan@synadia.com

In case where the subscription is destroyed by the user from the
message callback but it was the message that would cause the
limit to be reached, the UNSUB protocol was still sent to the
server.

Resolves #558

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@kozlovic kozlovic requested a review from aricart July 15, 2022 21:40
Copy link
Member

@aricart aricart left a comment

Choose a reason for hiding this comment

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

Lgtm

@kozlovic kozlovic merged commit 2e73b73 into main Jul 18, 2022
@kozlovic kozlovic deleted the fix_558 branch July 18, 2022 15:38
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.

natsSubscription_Destroy submits UNSUB even after DELSUB
2 participants