From c9bd81cba7a86d1d5bb64e2d3dbbc880810381c0 Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 30 Oct 2024 09:26:47 +0100 Subject: [PATCH] fix(ceremony): reduce refresh --- ceremony/src/lib/supabase/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceremony/src/lib/supabase/client.ts b/ceremony/src/lib/supabase/client.ts index 20f2f9ebcc..ab5bc14703 100644 --- a/ceremony/src/lib/supabase/client.ts +++ b/ceremony/src/lib/supabase/client.ts @@ -7,7 +7,7 @@ const SUPABASE_URL = import.meta.env.VITE_SUPABASE_URL export const createSupabaseClient = () => { let client: SupabaseClient | null = null let refreshInterval: NodeJS.Timeout | null = null - const REFRESH_INTERVAL = 5 * 60 * 1000 // 5 minutes + const REFRESH_INTERVAL = 30 * 60 * 1000 // 30 minutes const getClient = () => { if (client) return client