mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Add crawler delay config + dynamic config values (#11018)
This commit is contained in:
@@ -20,6 +20,7 @@ import (
|
||||
"crypto/x509"
|
||||
"net/http"
|
||||
"os"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/minio/minio-go/v7/pkg/set"
|
||||
@@ -245,7 +246,8 @@ var (
|
||||
globalAutoEncryption bool
|
||||
|
||||
// Is compression enabled?
|
||||
globalCompressConfig compress.Config
|
||||
globalCompressConfigMu sync.Mutex
|
||||
globalCompressConfig compress.Config
|
||||
|
||||
// Some standard object extensions which we strictly dis-allow for compression.
|
||||
standardExcludeCompressExtensions = []string{".gz", ".bz2", ".rar", ".zip", ".7z", ".xz", ".mp4", ".mkv", ".mov"}
|
||||
|
||||
Reference in New Issue
Block a user