bottleneck
bottleneck copied to clipboard
Job scheduler and rate limiter, supports Clustering
EventEmitter instances are expected to return the event emitter itself from `on` and `once`. Bottleneck does this already, but the TypeScript definitions did not reflect this. Fixes https://github.com/SGrondin/bottleneck/issues/164
The ability to trigger a manual flush of any remaining rows is needed when you reach the end of a data set and there will be no more rows coming....
If we use the batcher to operate on a bunch of items and we reach the end, it would be useful to "flush" the batcher if there are rows remaining....
Hi! Thanks for bottleneck:) I'd like to use priority on the whole cluster. Docs says that I can't:) > Priorities are local. A higher priority job will run before a...
By default Bottleneck adds `minTime` between jobs being launched, regardless of how long it took a job to complete. I'm looking for a way to add a delay between the...
According to the bottleneck.d.ts, RedisConnection instance should have "ready()" method. But what I've experienced - it is a property. **Steps to reproduce:** ``` const connection = new Bottleneck.RedisConnection({ client: this._redis.publisher...
So I'm currently using BullMQ, and I'm doing some webcrawling with it, so in an effort to throttle my API requests, I happened upon this module. I'm curious if I...
Getting this error for a few days now. bottleneck v : 2.19.5 Node v : 12.13.0 Happened around < 0.5% of calls where bottleneck was used for the past 12...
Am I doing anything wrong here, the basic code not working for my use case. Here the request is not waiting for 1m interval set in limiter. ``` const limiter...
I changed types for method `wrap` and it seems to work in the same way and without overloading. If you like it, I can write for the rest of methods....