Skip to content

Commit 274d413

Browse files
committed
Fix auto block size not selected
1 parent c7ecd3b commit 274d413

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/BlockCompressor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ int BlockCompressor::compress(uint64& outputSize)
330330
if ((_autoBlockSize == true) && (_jobs > 0)) {
331331
const int64 bl = files[0]._size / _jobs;
332332
_blockSize = int(max(min((bl + 63) & ~63, int64(MAX_BLOCK_SIZE)), int64(MIN_BLOCK_SIZE)));
333+
_ctx.putInt("blockSize", _blockSize);
333334
}
334335

335336
if (oName.length() == 0) {

0 commit comments

Comments
 (0)