Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

Commit

Permalink
perf: revalidate dashboard in 5 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
rwietter committed Jul 3, 2023
1 parent aee718a commit 79980e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const getStaticProps: GetStaticProps = async (): Promise<
averageDeadPatientAge: data.averageDeadPatientAge,
},
},
revalidate: 3600, // 1 hour
revalidate: 300, // 5 minutes
};
} catch (error) {
return {
Expand Down

0 comments on commit 79980e0

Please sign in to comment.