mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
increase limiter concurrency
This commit is contained in:
@@ -17,8 +17,8 @@ const STALE_ERROR_AGE = 7 * 24 * 60 * 60; // 7 days
|
|||||||
|
|
||||||
const builder = new addonBuilder(dummyManifest());
|
const builder = new addonBuilder(dummyManifest());
|
||||||
const limiter = new Bottleneck({
|
const limiter = new Bottleneck({
|
||||||
maxConcurrent: process.env.LIMIT_MAX_CONCURRENT || 10,
|
maxConcurrent: process.env.LIMIT_MAX_CONCURRENT || 30,
|
||||||
highWater: process.env.LIMIT_QUEUE_SIZE || 30,
|
highWater: process.env.LIMIT_QUEUE_SIZE || 50,
|
||||||
strategy: Bottleneck.strategy.OVERFLOW
|
strategy: Bottleneck.strategy.OVERFLOW
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user