market page: regenerate static props after 5 seconds
This commit is contained in:
parent
537962a7dc
commit
a9627bb2b6
|
@ -69,7 +69,7 @@ export async function getStaticPropz(props: {
|
||||||
comments: comments.slice(0, 1000),
|
comments: comments.slice(0, 1000),
|
||||||
},
|
},
|
||||||
|
|
||||||
revalidate: 60, // regenerate after a minute
|
revalidate: 5, // regenerate after five seconds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user