graphql-rabbitmq-subscriptions icon indicating copy to clipboard operation
graphql-rabbitmq-subscriptions copied to clipboard

The same message is fired twice while we only make one subscription.

Open markledev opened this issue 7 years ago • 3 comments

in a graphql mutation, we publish message abc to channel hell-no

Somehow, in the subscription that listens to new message from channel hell-no, we get message abc twice. We only saw this when rabbitmq server was deployed first time. After restarting the rabbitmq server, everything works fine.

Do you have any clue why this happens?

markledev avatar Jul 03 '18 05:07 markledev

I have the same kind of issues when pubsub is reconnecting after a disconnection. Could be related to : https://github.com/apollographql/subscriptions-transport-ws/issues/458

xaviertholot avatar Sep 05 '18 15:09 xaviertholot

please take a look at PR #12 that IMO fixes the problem

xaviertholot avatar Sep 06 '18 12:09 xaviertholot

If the PR #12 fixes let us know, so i can merge it.

cdmbase avatar Dec 24 '18 03:12 cdmbase