Skip to content

Commit ea3d1e6

Browse files
committed
fix(RateLimiter): Increase to 5 req/10m
1 parent 7fa7d86 commit ea3d1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function (RED) {
3030
this.rater = new RateLimiter(
3131
[
3232
{ period: 1 * 60 * 1000, limit: 12, penalty: 0, repeat: 10 }, //for 10 min: Limit to 12 req / min
33-
{ period: 10 * 60 * 1000, limit: 3, penalty: 1 }, //afterward: Limit to 3 req / 10 min
33+
{ period: 10 * 60 * 1000, limit: 5, penalty: 1 }, //afterward: Limit to 5 req / 10 min
3434
],
3535
null, //= callback
3636
this.logger

0 commit comments

Comments
 (0)