Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateBandwidthLimit (0.1 sec)

  1. cmd/bucket-targets.go

    		newtgts = append(newtgts, *tgt)
    	}
    
    	sys.targetsMap[bucket] = newtgts
    	sys.arnRemotesMap[tgt.Arn] = arnTarget{Client: clnt}
    	sys.updateBandwidthLimit(bucket, tgt.Arn, tgt.BandwidthLimit)
    	return nil
    }
    
    func (sys *BucketTargetSys) updateBandwidthLimit(bucket, arn string, limit int64) {
    	if limit == 0 {
    		globalBucketMonitor.DeleteBucketThrottle(bucket, arn)
    		return
    	}
    	// Setup bandwidth throttling
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top