Skip to content

Commit

Permalink
merge: api updates from main
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko committed Jan 30, 2025
2 parents b7997c2 + c48c642 commit fd1a753
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/stream/internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ async function* readChunks(streamInfo, size) {
Range: `bytes=${read}-${read + CHUNK_SIZE}`
},
dispatcher: streamInfo.dispatcher,
signal: streamInfo.controller.signal
signal: streamInfo.controller.signal,
maxRedirections: 4
});

if (chunk.statusCode === 403 && chunksSinceTransplant >= 3 && streamInfo.transplant) {
Expand Down

0 comments on commit fd1a753

Please sign in to comment.