mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-16 07:46:31 +00:00
Use between 2 and 256MiB for buffering depending on the number of drives
Changelog-entry: Use between 2 and 256MiB for buffering depending on the number of drives Change-type: patch
This commit is contained in:
parent
52bdd02a4b
commit
59e37182be
@ -119,7 +119,7 @@ async function writeAndValidate({
|
||||
onProgress,
|
||||
verify,
|
||||
trim: autoBlockmapping,
|
||||
numBuffers: 32,
|
||||
numBuffers: Math.min(2 + (destinations.length - 1) * 32, 256),
|
||||
decompressFirst,
|
||||
});
|
||||
const result: WriteResult = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user