reduce limiter concurrent
This commit is contained in:
@@ -18,8 +18,8 @@ const STALE_ERROR_AGE = 7 * 24 * 60 * 60; // 7 days
|
||||
|
||||
const builder = new addonBuilder(dummyManifest());
|
||||
const limiter = new Bottleneck({
|
||||
maxConcurrent: process.env.LIMIT_MAX_CONCURRENT || 100,
|
||||
highWater: process.env.LIMIT_QUEUE_SIZE || 120,
|
||||
maxConcurrent: process.env.LIMIT_MAX_CONCURRENT || 40,
|
||||
highWater: process.env.LIMIT_QUEUE_SIZE || 60,
|
||||
strategy: Bottleneck.strategy.OVERFLOW
|
||||
});
|
||||
const limiterOptions = { expiration: 2 * 60 * 1000 }
|
||||
|
||||
Reference in New Issue
Block a user