You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set the retryDelay in my config to 5 seconds, and I have run into an issue recently where the first chunk is failing on initial fetch. It is actually taking ~2 minutes to retry the download.
If I block that download in the network tab, I can see that the subsequent retries of the same chunk (&retry-attempt=1+N) honour the 5 second delay.
Digging into the source code I believe this is happening in the ensureChunk webpack callback here, but I'm struggling to find docs that explain the ensureChunk webpack function and when it is called.
Is the ensureChunk function only called after all the chunks have made an initial request and have a response? If so, is it possible to call it after each chunk failure?
Thanks! 😊
The text was updated successfully, but these errors were encountered:
Hey!
I have set the
retryDelay
in my config to 5 seconds, and I have run into an issue recently where the first chunk is failing on initial fetch. It is actually taking ~2 minutes to retry the download.If I block that download in the network tab, I can see that the subsequent retries of the same chunk (
&retry-attempt=1+N
) honour the 5 second delay.Digging into the source code I believe this is happening in the
ensureChunk
webpack callback here, but I'm struggling to find docs that explain theensureChunk
webpack function and when it is called.Is the
ensureChunk
function only called after all the chunks have made an initial request and have a response? If so, is it possible to call it after each chunk failure?Thanks! 😊
The text was updated successfully, but these errors were encountered: