File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
internal-packages/run-engine/src/engine Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ function createRunEngine() {
6363 processWorkerQueueDebounceMs : env . RUN_ENGINE_PROCESS_WORKER_QUEUE_DEBOUNCE_MS ,
6464 dequeueBlockingTimeoutSeconds : env . RUN_ENGINE_DEQUEUE_BLOCKING_TIMEOUT_SECONDS ,
6565 masterQueueConsumersIntervalMs : env . RUN_ENGINE_MASTER_QUEUE_CONSUMERS_INTERVAL_MS ,
66+ masterQueueConsumersDisabled : env . RUN_ENGINE_WORKER_ENABLED === "0" ,
6667 } ,
6768 runLock : {
6869 redis : {
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ export class RunEngine {
123123 shutdownTimeoutMs : options . worker . shutdownTimeoutMs ,
124124 } ,
125125 shardCount : options . queue ?. shardCount ,
126- masterQueueConsumersDisabled : options . worker . disabled ,
126+ masterQueueConsumersDisabled : options . queue ?. masterQueueConsumersDisabled ,
127127 masterQueueConsumersIntervalMs : options . queue ?. masterQueueConsumersIntervalMs ,
128128 processWorkerQueueDebounceMs : options . queue ?. processWorkerQueueDebounceMs ,
129129 dequeueBlockingTimeoutSeconds : options . queue ?. dequeueBlockingTimeoutSeconds ,
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ export type RunEngineOptions = {
3131 queue : {
3232 redis : RedisOptions ;
3333 shardCount ?: number ;
34+ masterQueueConsumersDisabled ?: boolean ;
3435 processWorkerQueueDebounceMs ?: number ;
3536 masterQueueConsumersIntervalMs ?: number ;
3637 workerOptions ?: WorkerConcurrencyOptions ;
You can’t perform that action at this time.
0 commit comments