Skip to content

Commit 9bc4ebe

Browse files
authored
Apply suggestion from @vicb
1 parent 3031cc4 commit 9bc4ebe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cloudflare/src/api/overrides/tag-cache/d1-next-tag-cache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class D1NextModeTagCache implements NextModeTagCache {
106106
const isStale = [...result.values()].some((v) => {
107107
if (v == null) return false;
108108
const { revalidatedAt, stale, expire } = v;
109-
// A tag is stale when both its stale timestamp and its revalidatedAt are newer than the page.
109+
// A tag is stale when both its stale and revalidatedAt timestamps are newer than the page.
110110
// revalidatedAt > lastModified ensures the revalidation that set this stale window happened
111111
// after the page was generated, preventing a stale signal from a previous ISR cycle.
112112
const isInStaleWindow =

0 commit comments

Comments
 (0)