Commit 7eb8234
authored
[Flight] Fix double-incremented pending chunks counter (facebook#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.1 parent 2bd1c75 commit 7eb8234
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3810 | 3810 | | |
3811 | 3811 | | |
3812 | 3812 | | |
3813 | | - | |
3814 | 3813 | | |
3815 | 3814 | | |
3816 | 3815 | | |
3817 | 3816 | | |
| 3817 | + | |
3818 | 3818 | | |
3819 | 3819 | | |
3820 | 3820 | | |
| |||
0 commit comments