From 165acd4e2ce0ac53e5041840d0fc6d0993b0f7b7 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 23 Jan 2024 19:57:34 +0100 Subject: [PATCH] make smaller toggle cache to s3 --- frontend/src/routes/(root)/(logged)/workers/+page.svelte | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/routes/(root)/(logged)/workers/+page.svelte b/frontend/src/routes/(root)/(logged)/workers/+page.svelte index 2e357621a4..fcc54bc182 100644 --- a/frontend/src/routes/(root)/(logged)/workers/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/workers/+page.svelte @@ -126,14 +126,13 @@ } }} options={{ right: 'global cache to s3' }} + size="sm" disabled={!$enterpriseLicense || $enterpriseLicense.endsWith('_pro')} />

global cache to s3 is an enterprise feature that enable workers to do fast cold start - and share a single cache backed by s3 to ensure that even with a high number of - workers, dependencies for python/deno/bun/go are only downloaded for the first time - only once by the whole fleet. + and share a single cache backed by s3 for pip dependencies.

require S3_CACHE_BUCKET to be set and has NO effect otherwise (even if this setting is on)