Stwissel / node-red-contrib-salesforce

A set of Node-RED nodes to interact with Salesforce and Force.com
MIT License
10 stars 17 forks source link

Streaming Node - Duplicated msg(s) when passing to a function #16

Closed judamarto closed 5 years ago

judamarto commented 6 years ago

It works fine when passing a streaming subscription to a debug node directly.

However, for some reasons it duplicates msg(s) when adding a node "function" in between.

screen shot 2018-03-01 at 9 58 46 am screen shot 2018-03-01 at 9 58 20 am
Stwissel commented 6 years ago

Seems to be related to restarting NodeRED when redeploying flows? Thoughts?

judamarto commented 6 years ago

Yes, that what we notice - the duplicate msg(s) will correlate to how many times we click the deploy button. The PR I sent you was trying to resolve this issue - https://github.com/Stwissel/node-red-contrib-salesforce/pull/17

Please see my comment on the issue - https://github.com/Stwissel/node-red-contrib-salesforce/issues/16

Stwissel commented 5 years ago

Fixed in 0.7.0