Use better gzip for log rotate (#19651)

Should be 2x faster with same usage.
This commit is contained in:
Klaus Post 2024-05-02 04:38:40 -07:00 committed by GitHub
parent e5b16adb1c
commit 4a60a7794d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@
package logger
import (
"compress/gzip"
"encoding/json"
"fmt"
"io"
@ -26,6 +25,7 @@ import (
"path/filepath"
"time"
"github.com/klauspost/compress/gzip"
xioutil "github.com/minio/minio/internal/ioutil"
"github.com/minio/pkg/v2/logger/message/log"
)