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

Bugfix/detach emitters #11

Merged
merged 2 commits into from
May 13, 2020
Merged

Conversation

mjarmoc
Copy link
Contributor

@mjarmoc mjarmoc commented May 13, 2020

This PR solves the following problem:

BUG:
After reconnection (broker died) the client sends a response for RPC n + 1 times, where n is the number of reconnections.

SOLUTION:
Detach listeners from response emitter on disconnect event and reattach them on connect (is dispatched on connect or reconnect).

@AlariCode AlariCode merged commit 1433960 into AlariCode:master May 13, 2020
@AlariCode
Copy link
Owner

Thx for bugfix!

piotrfrankowski pushed a commit to piotrfrankowski/nestjs-rmq that referenced this pull request Oct 6, 2020
Merge Master & Add topic to error message
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.

None yet

2 participants