- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for IsThrottled (0.09 seconds)
-
internal/bucket/bandwidth/monitor.go
throttle.Limiter = rate.NewLimiter(rate.Limit(float64(limitBytes)), int(limitBytes)) m.bucketsThrottle[BucketOptions{Name: bucket, ReplicationARN: arn}] = throttle } // IsThrottled returns true if a bucket has bandwidth throttling enabled. func (m *Monitor) IsThrottled(bucket, arn string) bool { m.tlock.RLock() defer m.tlock.RUnlock() _, ok := m.bucketsThrottle[BucketOptions{Name: bucket, ReplicationARN: arn}] return ok
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0)