Skip to content

Commit 4af3dd6

Browse files
committed
don't treat initial pool size as scale up
1 parent ffadd16 commit 4af3dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/v3/runEngineWorker/supervisor/consumerPool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class RunQueueConsumerPool {
147147
// Set initial metrics
148148
this.metrics.targetConsumerCount = initialCount;
149149

150-
this.scaleToTarget(initialCount);
150+
this.addConsumers(initialCount);
151151

152152
this.logger.log("Started dynamic consumer pool", {
153153
initialConsumerCount: this.consumers.size,

0 commit comments

Comments
 (0)