Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
skutner committed Nov 16, 2022
1 parent d29f848 commit 208522a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middlewares/throttler/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const TokenBucket = require("../../libs/TokenBucket");

function Throttler(server){
const logger = $$.getLogger("apihub", "Throttler");
const logger = $$.getLogger("Throttler", "apihub");
const START_TOKENS = 6000000;
const tokenBucket = new TokenBucket(START_TOKENS, 1, 10);
let remainingTokens = START_TOKENS;
Expand Down

0 comments on commit 208522a

Please # to comment.