dedicated workers nit

This commit is contained in:
Ruben Fiszel
2023-11-17 10:06:05 +01:00
parent 518a8396b3
commit b4c69a3d50
2 changed files with 6 additions and 5 deletions
@@ -666,7 +666,8 @@
<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 the Bun language.</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>
@@ -366,7 +366,7 @@
<span class="my-4 text-lg font-bold">Dedicated Worker</span>
<Toggle
disabled={false && (!$enterpriseLicense || isCloudHosted())}
disabled={!$enterpriseLicense || isCloudHosted()}
size="sm"
checked={Boolean($flowStore.dedicated_worker)}
on:change={() => {
@@ -391,9 +391,9 @@
{/if}
<svelte:fragment slot="header">
<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 the Bun language.</Tooltip
>In this mode, every scripts of this flow is run on the workers dedicated to this
flow that keep the scripts "hot" so that there is not cold start cost incurred.
Steps can run at >1500 rps in this mode.</Tooltip
>
</svelte:fragment>
</TabContent>