File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
packages/cloudflare/src/api/overrides/tag-cache Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @opennextjs/cloudflare " : patch
3+ ---
4+
5+ Fix regional cache for the DOShardedTagCache
Original file line number Diff line number Diff line change @@ -306,7 +306,9 @@ class ShardedDOTagCache implements NextModeTagCache {
306306 return Math . max ( ...cachedValue . map ( ( item ) => item . time ) ) ;
307307 }
308308 // Otherwise we need to check the durable object on the ones that were not found in the cache
309- const filteredTags = tags . filter ( ( tag ) => ! cachedValue . some ( ( item ) => item . tag === tag ) ) ;
309+ const filteredTags = deduplicatedTags . filter (
310+ ( tag ) => ! cachedValue . some ( ( item ) => item . tag === tag )
311+ ) ;
310312
311313 const stub = this . getDurableObjectStub ( doId ) ;
312314 const lastRevalidated = await stub . getLastRevalidated ( filteredTags ) ;
You can’t perform that action at this time.
0 commit comments