SocketCluster / socketcluster

Highly scalable realtime pub/sub and RPC framework
https://socketcluster.io
MIT License
6.15k stars 314 forks source link

`channelSubscriptionsCount` is not getting updated in AGServerSocket(scc-broker), when we add more brokers #556

Closed Shankar-khati closed 2 years ago

Shankar-khati commented 2 years ago

SCC configuration:

Shankar-khati commented 2 years ago

hey @jondubois can you please look into this issue?? I just want to get count for the channel subscribed by a broker.

jondubois commented 2 years ago

@Shankar-khati Thanks for this detailed bug report. It was missing an unsubscribe call. I've fixed this and integration tests are still passing.

I didn't yet get the time to check if it solves your issue specifically so please let me know (and close this issue) if it did.

The fix was implemented in:

The latest socketcluster/socketcluster:v16.0.3 container image was pushed to DockerHub.

jondubois commented 2 years ago

Closed by accident. Please close this issue if it has been fixed.

Shankar-khati commented 2 years ago

Thanks @jondubois, I really appreciate it.

Shankar-khati commented 2 years ago

@jondubois I just tested with scc-broker-client@8.1.0, its working amazingly!!