From 871647227291f448e7e66acacb43410651c2d518 Mon Sep 17 00:00:00 2001 From: sotojn Date: Fri, 20 Sep 2024 15:45:39 -0700 Subject: [PATCH] set ex back to paused state after pause init --- .../teraslice/src/lib/workers/execution-controller/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/teraslice/src/lib/workers/execution-controller/index.ts b/packages/teraslice/src/lib/workers/execution-controller/index.ts index 513d9509532..bd820351364 100644 --- a/packages/teraslice/src/lib/workers/execution-controller/index.ts +++ b/packages/teraslice/src/lib/workers/execution-controller/index.ts @@ -320,6 +320,8 @@ export class ExecutionController { this.server.executionReady = true; if (this.startOnPaused) { await this.pause(); + /// We need to set the status back to paused + await this.executionStorage.setStatus(this.exId, 'paused'); } }