mirror of
https://github.com/minio/minio.git
synced 2025-01-27 14:43:18 -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
|
package logger
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"compress/gzip"
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
@ -26,6 +25,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/klauspost/compress/gzip"
|
||||||
xioutil "github.com/minio/minio/internal/ioutil"
|
xioutil "github.com/minio/minio/internal/ioutil"
|
||||||
"github.com/minio/pkg/v2/logger/message/log"
|
"github.com/minio/pkg/v2/logger/message/log"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user