Skip to content

Commit

Permalink
fix(ceremony): reduce refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Swepool committed Oct 30, 2024
1 parent 02b4aa6 commit c9bd81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceremony/src/lib/supabase/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9bd81c

Please sign in to comment.