webdis
webdis copied to clipboard
Sending subsequent SUBSCRBE commands via WebSocket may or may not return a success
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?
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"]))
I have not. My issue is that the javascript package has to send the "SUBSCRIBE" commands separately, in order to handle the callbacks properly.