reduce rd timeout and increase concurrency

This commit is contained in:
TheBeastLT
2024-01-15 00:24:48 +02:00
parent 087ea37c2a
commit a1f2f2a9f1
3 changed files with 3 additions and 3 deletions

View File

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