From 4a60a7794de9af723040ed309c2e1381f4b31902 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Thu, 2 May 2024 04:38:40 -0700 Subject: [PATCH] Use better gzip for log rotate (#19651) Should be 2x faster with same usage. --- internal/logger/logrotate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logger/logrotate.go b/internal/logger/logrotate.go index f4e109115..63fd98915 100644 --- a/internal/logger/logrotate.go +++ b/internal/logger/logrotate.go @@ -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" )