Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flight] Fix double-incremented pending chunks counter (#31833)
Before calling `emitTimingChunk` inside of `forwardDebugInfo`, we must not increment `request.pendingChunks`, as this is already done inside of the `emitTimingChunk` function. I don't have a unit test for this, but manually verified that this fixes the hanging responses in vercel/next.js#73804.
- Loading branch information