reduce bottleneck limits

This commit is contained in:
TheBeastLT
2022-11-01 10:34:44 +01:00
parent 9e8e76e09f
commit 05b0876e1c

View File

@@ -16,8 +16,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 || 20,
highWater: process.env.LIMIT_QUEUE_SIZE || 50,
maxConcurrent: process.env.LIMIT_MAX_CONCURRENT || 10,
highWater: process.env.LIMIT_QUEUE_SIZE || 30,
strategy: Bottleneck.strategy.OVERFLOW
});