mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 17:00:27 -04:00
9fb97becb9
The Vercel Data Cache caches data across deployments, and we want to check for updates in federated content, so let's revalidate the data once a day. It may be more efficient to revalidate on-demand, since we don't change most of these sources once a day, but that requires setting up an API endpoint (and figuring out how to authenticate it), so this is quick-and-easy for now.
4 lines
71 B
TypeScript
4 lines
71 B
TypeScript
const ONE_DAY_IN_SECONDS = 60 * 60 * 24
|
|
|
|
export { ONE_DAY_IN_SECONDS }
|