We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
expireTags
1 parent 79c4c5e commit 6a0e20bCopy full SHA for 6a0e20b
packages/next/src/server/lib/incremental-cache/index.ts
@@ -277,13 +277,13 @@ export class IncrementalCache implements IncrementalCacheType {
277
}
278
279
280
+ await Promise.all(promises)
281
+
282
const workUnitStore = workUnitAsyncStorage.getStore()
283
284
if (workUnitStore?.implicitTags) {
- promises.push(updateImplicitTagsExpiration(workUnitStore.implicitTags))
285
+ await updateImplicitTagsExpiration(workUnitStore.implicitTags)
286
-
- await Promise.all(promises)
287
288
289
// x-ref: https://github.com/facebook/react/blob/2655c9354d8e1c54ba888444220f63e836925caa/packages/react/src/ReactFetch.js#L23
0 commit comments