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
{{ message }}
Repository navigation
Commit 555c788
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): cloud upload tests stop flaking and two cuts at the same age count as one (heygen-com#7352)
* refactor(cli): split the upload retry decision and the test drain to keep complexity down
* test(cli): drain the slow upload test server at a fixed rate whatever the chunk size
* fix(cli): two cuts at the same age are the same cut whatever bytes each got through
* fix(cli): sample upload progress on its own interval so a short try still reports its bytes
* style(cli): format the cloud upload files
`The connection was cut at ${seconds(now.ageMs)} on two tries in a row, after ${Math.floor((100*now.sent)/total)}% of the file was sent (${code??"connection reset"}). Every try restarts the file, so this link cannot finish it before the cut: use a faster connection or send less media.`,
`The connection was cut at ${seconds(now.ageMs)} on two tries in a row, after ${Math.floor((100*now.sent)/total)}% of the file was sent (${(erras{code?: string}).code??"connection reset"}). Every try restarts the file, so this link cannot finish it before the cut: use a faster connection or send less media.`,
0 commit comments