mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
dedicated workers nit
This commit is contained in:
@@ -634,7 +634,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
</Section>
|
||||
<Section label="Dedicated Workers">
|
||||
<Section label="Dedicated Workers" eeOnly>
|
||||
<Toggle
|
||||
disabled={!$enterpriseLicense ||
|
||||
isCloudHosted() ||
|
||||
@@ -666,8 +666,9 @@
|
||||
<Tooltip
|
||||
>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</Tooltip
|
||||
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</Tooltip
|
||||
>
|
||||
</svelte:fragment>
|
||||
</Section>
|
||||
|
||||
@@ -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}
|
||||
|
||||
<div class="py-6" />
|
||||
<span class="my-4 text-lg font-bold">Dedicated Worker</span>
|
||||
<span class="my-4 text-lg font-bold flex items-baseline gap-8"
|
||||
>Dedicated Worker {#if !$enterpriseLicense}<div
|
||||
class="flex text-xs items-center gap-1 text-yellow-500 whitespace-nowrap"
|
||||
>
|
||||
<AlertTriangle size={16} />
|
||||
EE only
|
||||
</div>{/if}</span
|
||||
>
|
||||
|
||||
<Toggle
|
||||
disabled={!$enterpriseLicense || isCloudHosted()}
|
||||
|
||||
Reference in New Issue
Block a user