Skip to content

Commit bbdda87

Browse files
committed
fix: Tweak revalidation time
1 parent 5bd319a commit bbdda87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/student/exhibitors/[exhibitor]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default async function ExhibitorPage({
6464

6565
const exhibitors = await fetchExhibitors({
6666
year,
67-
next: { revalidate: 3600 * 24 * 6 /* 6 days */ }
67+
next: { revalidate: 3600 / 2 /* 30 min */ }
6868
})
6969
const exhibitor = exhibitors.find(x => x.id.toString() === params.exhibitor)
7070

src/app/student/map/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default async function Page() {
2323

2424
const exhibitors = await fetchExhibitors({
2525
year: 2024,
26-
next: { revalidate: 3600 * 24 * 6 /* 6 days */ }
26+
next: { revalidate: 3600 / 3 /* 20 min */ }
2727
})
2828

2929
const exhibitorsByID = new Map(exhibitors.map(e => [e.id, e]))

0 commit comments

Comments
 (0)