nodered icon indicating copy to clipboard operation
nodered copied to clipboard

Issue subscribing to channels in quick succession over websocket

Open nchapman opened this issue 15 years ago • 0 comments

Hi guys,

I'm having trouble trying to subscribe to multiple channels in quick succession. It seems the issue is related to the fact that the requests are being processed in parallel but are being retrieved using client.requests[0](request_dispatch.js line 14). Even though the request IDs are correct, it keeps pulling the first request and the IDs become equal, and it calls client.kill("invalid request id"). It seems like maybe the requests should be shifted off of client.requests when it begins processing them. Let me know if you need more information.

Thanks!

Nick

nchapman avatar Jul 10 '10 05:07 nchapman