update deps and update azure WARM tier implementation (#20247)

This commit is contained in:
Harshavardhana
2024-08-13 11:21:34 -07:00
committed by GitHub
parent 37c02a5f7b
commit acdb355070
6 changed files with 702 additions and 450 deletions

View File

@@ -22,8 +22,6 @@ import (
"net/http/httptrace"
"sync/atomic"
"time"
"github.com/minio/minio/internal/logger"
)
var globalStats = struct {
@@ -71,8 +69,6 @@ func setupReqStatsUpdate(req *http.Request) (*http.Request, func()) {
ConnectDone: func(network, addr string, err error) {
if err == nil {
atomic.StoreInt64(&dialEnd, time.Now().UnixNano())
} else {
logger.LogOnceIf(req.Context(), logSubsys, err, req.URL.Hostname())
}
},
}