From 12ba12fd9ec8f06052a4770231cd8a7cea658f75 Mon Sep 17 00:00:00 2001 From: Ciprian Dorin Craciun Date: Wed, 15 Dec 2021 17:36:59 +0200 Subject: [PATCH] [archiver] Always try to compress data. --- sources/cmd/archiver/archiver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/cmd/archiver/archiver.go b/sources/cmd/archiver/archiver.go index 2ccdde8..e1c0ea9 100644 --- a/sources/cmd/archiver/archiver.go +++ b/sources/cmd/archiver/archiver.go @@ -449,7 +449,7 @@ func prepareDataContent (_context *context, _pathResolved string, _pathInArchive return "", nil, nil, _error } - if (_dataSize > 512) && (_compressAlgorithm != "identity") { + if _compressAlgorithm != "identity" { var _dataCompressed []byte var _dataCompressedCached bool