thinkalpha / socket.io-amqp0

socket.io adapter for amqp 0.9.1+ (e.g. RabbitMQ)
11 stars 3 forks source link

Message broadcast multiple times #1

Closed itrogers closed 2 years ago

itrogers commented 3 years ago

Hey there, thanks for the great library. I've experimented with this for a while and ran into an issue that I wanted to bring to your attention.

I've noticed an issue where a message will be broadcast N times the amount of sockets in any given room. Example, if 3 users are connected to "room1" - then each of the 3 users will received the emitted event 3 times. If 5 users, 5 times, etc.

Let me know any additional information needed and how I might be able to help resolve the issue.

bytenik commented 2 years ago

Apparently, I didn't have notifications turned on for issues here. Are you still working with this library and are you still having this issue with the latest version?

itrogers commented 2 years ago

@bytenik I am not using this library at the moment. As such I have not been able to test with the latest version.

bytenik commented 2 years ago

Okay, I'm going to close this then. If it turns out to be an issue for someone else, I can always reopen. I haven't witnessed this in our production use.