webdis icon indicating copy to clipboard operation
webdis copied to clipboard

Sending subsequent SUBSCRBE commands via WebSocket may or may not return a success

Open adamgoose opened this issue 10 years ago • 2 comments

When using a package that I wrote at https://github.com/adamgoose/angular-webdis, my angular application sends several subsequent SUBSCRIBE commands. About 20% of the time, some of the later commands are not acknowledged by Webdis. Thoughts?

adamgoose avatar Aug 22 '14 16:08 adamgoose

Have you found solution for your issue?

I had similar problem with sending subsequent SUBSCRIBE commands and found solution where I send it in one command like socket.send(JSON.stringify(["SUBSCRIBE", "channel1", "channel2"]))

denisvolokh avatar Mar 27 '15 06:03 denisvolokh

I have not. My issue is that the javascript package has to send the "SUBSCRIBE" commands separately, in order to handle the callbacks properly.

adamgoose avatar Mar 27 '15 19:03 adamgoose