Skip to content

Commit

Permalink
Add additional comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Sep 27, 2019
1 parent 00147f1 commit 7c8499c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/next/next-server/server/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ export async function renderToHTML(
)
}
} else if (data.revalidate === false) {
// `false` is an allowed behavior. We'll catch `revalidate: true` and
// fall into our default behavior.
} else {
// By default, we revalidate after 1 second. This value is optimal for
// the most up-to-date page possible, but without a 1-to-1
Expand Down

0 comments on commit 7c8499c

Please sign in to comment.