MCPcopy Create free account
hub / github.com/subquery/subql /

Class

packages/node-core/src/utils/queues/rampQueue.ts:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 * It will start at concurrency 1 and ramp up to the max concurrency unless there is a large jump above the median size then it will decrease.
22 * */
23export class RampQueue<T> extends AutoQueue<T> {
24 #maxConcurrency: number;
25 #sizes: number[] = [];
26 #totalItems = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected