mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
ref: Change partners page revalidation to 30 minutes (#21080)
This commit is contained in:
1 parent
53c5500be4
commit
09bd8d0c8f
4 files changed
+4
-4
No files matched your search
@@ -250,7 +250,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
|
||||
|
||||
return {
|
||||
props: { partner, overview },
|
||||
revalidate: 1800, // 5 hours
|
||||
revalidate: 1800, // 30 minutes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ export async function getStaticProps() {
|
||||
props: {
|
||||
partners,
|
||||
},
|
||||
revalidate: 18000, // In seconds - refresh every 5 hours
|
||||
revalidate: 1800, // 30 minutes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -335,7 +335,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
|
||||
|
||||
return {
|
||||
props: { partner, overview },
|
||||
revalidate: 1800, // 5 hours
|
||||
revalidate: 1800, // 30 minutes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ export async function getStaticProps() {
|
||||
partners,
|
||||
},
|
||||
// TODO: consider using Next.js' On-demand Revalidation with Supabase Database Webhooks instead
|
||||
revalidate: 18000, // In seconds - refresh every 5 hours
|
||||
revalidate: 1800, // 30 minutes
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user