mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-17 00:06:32 +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,
|
onProgress,
|
||||||
verify,
|
verify,
|
||||||
trim: autoBlockmapping,
|
trim: autoBlockmapping,
|
||||||
numBuffers: 32,
|
numBuffers: Math.min(2 + (destinations.length - 1) * 32, 256),
|
||||||
decompressFirst,
|
decompressFirst,
|
||||||
});
|
});
|
||||||
const result: WriteResult = {
|
const result: WriteResult = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user