Update revalidate to be once an hour

This commit is contained in:
Gary Tou 2025-01-21 14:08:29 -08:00
parent ebb22163ab
commit 3756168cc0
No known key found for this signature in database
GPG key ID: 1587ABD3593755C3

View file

@ -190,15 +190,14 @@ export async function getStaticProps(context) {
props: {
stats
},
revalidate: 10
revalidate: 60 * 60 // once an hour
}
} catch (e) {
return {
props: {
stats: {}
},
revalidate: 10
revalidate: 60 * 60 // once an hour
}
}
}