mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 18:23:16 +08:00
Correctly reset chunk during artifact upload on retry (#458)
* Correctly reset chunk during artifact upload on retry * Update workflow * Implementation details around the passthrough stream
This commit is contained in:
@@ -6,6 +6,10 @@ Warning: Implementation details may change at any time without notice. This is m
|
||||
|
||||

|
||||
|
||||
During artifact upload, gzip is used to compress individual files that then get uploaded. This is used to minimize the amount of data that gets uploaded which reduces the total amount of HTTP calls (upload happens in 4MB chunks). This results in considerably faster uploads with huge performance implications especially on self-hosted runners.
|
||||
|
||||
If a file is less than 64KB in size, a passthrough stream (readable and writable) is used to convert an in-memory buffer into a readable stream without any extra streams or pipping.
|
||||
|
||||
## Retry Logic when downloading an individual file
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user