rolling-rate-limiter
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -107,3 +107,3 @@ var assert = require("assert"); | ||
delete storage[id]; | ||
}, 1000*interval); // convert to miliseconds for javascript timeout | ||
}, interval/1000); // convert to miliseconds for javascript timeout | ||
@@ -110,0 +110,0 @@ if (cb) { |
{ | ||
"name": "rolling-rate-limiter", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Rate limiter that supports a rolling window, either in-memory or backed by redis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |