next.js
94bda499 - fix fetch lock not being consistently released (#74623)

Commit
1 year ago
fix fetch lock not being consistently released (#74623) When we acquire a lock on a fetch, and the fetch errors, we weren't resolving the lock. This meant a subsequent request would stall waiting to acquire a lock and prevent the page from rendering. An example of this is a fetch with force-cache in `generateMetadata` and another in the RSC where both requests encounter a fetch error. Fixes #74613
Author
Parents
Loading