mirror of
https://github.com/minio/minio.git
synced 2025-01-12 23:43:22 -05:00
Use better gzip for log rotate (#19651)
Should be 2x faster with same usage.
This commit is contained in:
parent
e5b16adb1c
commit
4a60a7794d
@ -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"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user