From 8c8c9b13b9716aae4b708a03bb2d38709d134be7 Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Sun, 31 Aug 2014 13:29:38 +0100 Subject: [PATCH] Addressing the first message bug in #346. Not closing the Issue (yet) as there still seems to be some discussion re timing. --- nodes/core/core/89-delay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/core/89-delay.js b/nodes/core/core/89-delay.js index cd0602ef5..0377760d6 100644 --- a/nodes/core/core/89-delay.js +++ b/nodes/core/core/89-delay.js @@ -80,7 +80,7 @@ module.exports = function(RED) { this.buffer = []; this.intervalID = -1; this.randomID = -1; - this.lastSent = Date.now(); + this.lastSent = 0; this.drop = n.drop; var node = this;