diff --git a/frontend/src/lib/components/ScriptBuilder.svelte b/frontend/src/lib/components/ScriptBuilder.svelte index 89c770c6c0..004e9eb3d7 100644 --- a/frontend/src/lib/components/ScriptBuilder.svelte +++ b/frontend/src/lib/components/ScriptBuilder.svelte @@ -652,7 +652,14 @@ right: 'Script is run on dedicated workers' }} /> - + {#if script.dedicated_worker} +
+ + One worker in a worker group needs to be configured with dedicated worker + set to:
{$workspaceStore}:{script.path}
+
+
+ {/if} In this mode, the script is meant to be run on dedicated workers that run the diff --git a/frontend/src/lib/components/WorkspaceGroup.svelte b/frontend/src/lib/components/WorkspaceGroup.svelte index 5e3819d073..b69e124990 100644 --- a/frontend/src/lib/components/WorkspaceGroup.svelte +++ b/frontend/src/lib/components/WorkspaceGroup.svelte @@ -320,7 +320,13 @@ }} bind:value={nconfig.dedicated_worker} /> -

+

Workers will get killed upon detecting this setting change. It is assumed they are in an environment where the supervisor will restart them. Upon restart, they will pick the new dedicated worker config.