Merge "libsnapshot: set header max_compression" into main

This commit is contained in:
Akilesh Kailash 2024-01-31 20:42:58 +00:00 committed by Gerrit Code Review
commit 13cb6f7b4b

View file

@ -110,6 +110,7 @@ void CowWriterV3::SetupHeaders() {
header_.op_count = 0;
header_.op_count_max = 0;
header_.compression_algorithm = kCowCompressNone;
header_.max_compression_size = options_.compression_factor;
return;
}