perf(indexer): change compression level of chunks: 6 -> 3
This commit is contained in:
parent
cef485f67a
commit
bdb5ea592b
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ pub(super) fn apply_block_blocks_chunk<B: Backend>(
|
||||||
.map_err(|e| KvError::DeserError(e.into()))?;
|
.map_err(|e| KvError::DeserError(e.into()))?;
|
||||||
let chunk_hash = Hash::compute_blake3(current_chunk_bin.as_ref());
|
let chunk_hash = Hash::compute_blake3(current_chunk_bin.as_ref());
|
||||||
|
|
||||||
let compressed_chunk = miniz_oxide::deflate::compress_to_vec(current_chunk_bin.as_ref(), 6);
|
let compressed_chunk = miniz_oxide::deflate::compress_to_vec(current_chunk_bin.as_ref(), 3);
|
||||||
|
|
||||||
let chunk_index = U32BE(block_number / CHUNK_SIZE);
|
let chunk_index = U32BE(block_number / CHUNK_SIZE);
|
||||||
gva_db
|
gva_db
|
||||||
|
|
Loading…
Add table
Reference in a new issue