From 9a0ef97eb5bd161404fa937e9331a7c6038eded0 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 17 Nov 2023 10:10:47 +0100 Subject: [PATCH] dedicated workers nit --- frontend/src/lib/components/ScriptBuilder.svelte | 7 ++++--- .../lib/components/flows/content/FlowSettings.svelte | 11 +++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/components/ScriptBuilder.svelte b/frontend/src/lib/components/ScriptBuilder.svelte index 2b2fa21c39..f3d413fe49 100644 --- a/frontend/src/lib/components/ScriptBuilder.svelte +++ b/frontend/src/lib/components/ScriptBuilder.svelte @@ -634,7 +634,7 @@ {/if} -
+
In this mode, the script is meant to be run on dedicated workers that run the script at native speed. Can reach >1500rps per dedicated worker. Only - available on enterprise edition and for Python3, Deno and Bun. For other languages, the efficiency - is already on par with deidcated workers since they do not spawn a full runtime
diff --git a/frontend/src/lib/components/flows/content/FlowSettings.svelte b/frontend/src/lib/components/flows/content/FlowSettings.svelte index 3a7dc45a15..262b1c3741 100644 --- a/frontend/src/lib/components/flows/content/FlowSettings.svelte +++ b/frontend/src/lib/components/flows/content/FlowSettings.svelte @@ -18,7 +18,7 @@ import { copyToClipboard } from '$lib/utils' import Tooltip from '$lib/components/Tooltip.svelte' import { WorkerService } from '$lib/gen' - import { Clipboard, Loader2 } from 'lucide-svelte' + import { AlertTriangle, Clipboard, Loader2 } from 'lucide-svelte' import SimpleEditor from '$lib/components/SimpleEditor.svelte' import { schemaToObject } from '$lib/schema' import type { Schema } from '$lib/common' @@ -363,7 +363,14 @@ {/if}
- Dedicated Worker + Dedicated Worker {#if !$enterpriseLicense}
+ + EE only +
{/if}