Skip to content

Commit 554e388

Browse files
committed
⚡ Update limiter strategy
1 parent 0cb7ca0 commit 554e388

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = async (app) => {
1212
app.limiter = new Bottleneck({
1313
maxConcurrent: parseInt(process.env.MAX_CONCURRENT, 10) || 10,
1414
highWater: parseInt(process.env.MAX_IN_QUEUE, 10) || 1000,
15-
strategy: Bottleneck.strategy.OVERFLOW,
15+
strategy: Bottleneck.strategy.BLOCK,
1616
trackDoneStatus: false
1717
})
1818

0 commit comments

Comments
 (0)