Skip to content

Commit b27784b

Browse files
committed
fixup: add TODO comments
1 parent e2e1b0a commit b27784b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ export class D1NextModeTagCache implements NextModeTagCache {
6565
.bind(this.getCacheKey(tag), Date.now())
6666
)
6767
);
68+
69+
// TODO: See https://github.com/opennextjs/opennextjs-aws/issues/986
6870
await purgeCacheByTags(tags);
6971
}
7072

packages/cloudflare/src/api/overrides/tag-cache/do-sharded-tag-cache.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ class ShardedDOTagCache implements NextModeTagCache {
227227
await this.performWriteTagsWithRetry(doId, tags, currentTime);
228228
})
229229
);
230+
231+
// TODO: See https://github.com/opennextjs/opennextjs-aws/issues/986
230232
await purgeCacheByTags(tags);
231233
}
232234

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export class KVNextModeTagCache implements NextModeTagCache {
6363
await kv.put(this.getCacheKey(tag), timeMs);
6464
})
6565
);
66+
67+
// TODO: See https://github.com/opennextjs/opennextjs-aws/issues/986
6668
await purgeCacheByTags(tags);
6769
}
6870

0 commit comments

Comments
 (0)