Skip to content

Commit

Permalink
Update .changeset/twelve-geckos-melt.md
Browse files Browse the repository at this point in the history
Co-authored-by: MrBBot <bcoll@cloudflare.com>
  • Loading branch information
dario-piotrowicz and mrbbot committed Apr 3, 2024
1 parent 8070317 commit e808dd9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .changeset/twelve-geckos-melt.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@

fix: make sure the magic proxy can handle multiple parallel r2 stream reads

currently trying to read multiple R2 streams in parallel (via `Promise.all` for example)
generates a deadlock which prevents any of the target streams to be read, this is caused
by the magic proxy underlying implementation only allowing a single HTTP connection to the
workerd process at a time. Fix such issue by instead allowing any number of parallel HTTP
connections at the same time.
Currently trying to read multiple R2 streams in parallel (via `Promise.all` for example) leads to deadlock which prevents any of the target streams from being read. This is caused by the underlying implementation only allowing a single HTTP connection to the Workers runtime at a time. This change fixes the issue by allowing multiple parallel HTTP connections.

0 comments on commit e808dd9

Please sign in to comment.