[archiver] Always try to compress data.

This commit is contained in:
Ciprian Dorin Craciun 2021-12-15 17:36:59 +02:00
parent 5694f1b20d
commit 12ba12fd9e

View file

@ -449,7 +449,7 @@ func prepareDataContent (_context *context, _pathResolved string, _pathInArchive
return "", nil, nil, _error return "", nil, nil, _error
} }
if (_dataSize > 512) && (_compressAlgorithm != "identity") { if _compressAlgorithm != "identity" {
var _dataCompressed []byte var _dataCompressed []byte
var _dataCompressedCached bool var _dataCompressedCached bool