mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Join: count of 0 should not send on every msg
This commit is contained in:
@@ -457,7 +457,7 @@ module.exports = function(RED) {
|
||||
group.msg = msg;
|
||||
var tcnt = group.targetCount;
|
||||
if (msg.hasOwnProperty("parts")) { tcnt = group.targetCount || msg.parts.count; }
|
||||
if (group.currentCount >= tcnt || msg.hasOwnProperty('complete')) {
|
||||
if ((tcnt > 0 && group.currentCount >= tcnt) || msg.hasOwnProperty('complete')) {
|
||||
completeSend(partId);
|
||||
}
|
||||
} catch(err) {
|
||||
|
Reference in New Issue
Block a user