- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newQueueCache (0.12 sec)
-
cmd/bucket-replication-stats.go
func NewReplicationStats(ctx context.Context, objectAPI ObjectLayer) *ReplicationStats { r := metrics.NewRegistry() rs := ReplicationStats{ Cache: make(map[string]*BucketReplicationStats), qCache: newQueueCache(r), pCache: newProxyStatsCache(), srStats: newSRStats(), movingAvgTicker: time.NewTicker(2 * time.Second), wTimer: time.NewTicker(2 * time.Second),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/bucket-replication-metrics.go
Max: qm.Max.add(o.Max), } } type queueCache struct { srQueueStats InQueueStats bucketStats map[string]InQueueStats sync.RWMutex // mutex for queue stats } func newQueueCache(r metrics.Registry) queueCache { return queueCache{ bucketStats: make(map[string]InQueueStats), srQueueStats: newInQueueStats(r, "site"), } } func (q *queueCache) update() { q.Lock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0)