diff --git a/nodes/core/89-rate.js b/nodes/core/89-rate.js index b11a4342d..f34e8bd2c 100644 --- a/nodes/core/89-rate.js +++ b/nodes/core/89-rate.js @@ -37,6 +37,9 @@ function RateLimitNode(n) { this.on("input", function(msg) { this.buffer.push(msg); + if (this.buffer.length > 1000) { + this.warn(this.name + " buffer exceeded 1000 messages"); + } }); }