Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for LimitInBytesPerSecond (0.26 sec)

  1. internal/bucket/bandwidth/monitor_gen.go

    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "LimitInBytesPerSecond":
    			z.LimitInBytesPerSecond, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "LimitInBytesPerSecond")
    				return
    			}
    		case "CurrentBandwidthInBytesPerSecond":
    			z.CurrentBandwidthInBytesPerSecond, err = dc.ReadFloat64()
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/monitor_test.go

    	test1Want := make(map[BucketOptions]Details)
    	test1Want[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: 0}
    	test1Want2 := make(map[BucketOptions]Details)
    	test1Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{
    		LimitInBytesPerSecond:            1024 * 1024,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/monitor.go

    		for _, bkt := range buckets {
    			if bkt == bucket {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    // Details for the measured bandwidth
    type Details struct {
    	LimitInBytesPerSecond            int64   `json:"limitInBits"`
    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    }
    
    // BucketBandwidthReport captures the details for all buckets.
    type BucketBandwidthReport struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/bucket-replication-handlers.go

    	for arn, st := range stats.ReplicationStats.Stats {
    		for opts, bw := range bwMap {
    			if opts.ReplicationARN != "" && opts.ReplicationARN == arn {
    				st.BandWidthLimitInBytesPerSecond = bw.LimitInBytesPerSecond
    				st.CurrentBandwidthInBytesPerSecond = bw.CurrentBandwidthInBytesPerSecond
    				stats.ReplicationStats.Stats[arn] = st
    			}
    		}
    	}
    
    	if err := enc.Encode(stats.ReplicationStats); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  5. cmd/notification.go

    			continue
    		}
    		for opts := range report.BucketStats {
    			d, ok := consolidatedReport.BucketStats[opts]
    			if !ok {
    				d = bandwidth.Details{
    					LimitInBytesPerSecond: report.BucketStats[opts].LimitInBytesPerSecond,
    				}
    			}
    			dt, ok := report.BucketStats[opts]
    			if ok {
    				d.CurrentBandwidthInBytesPerSecond += dt.CurrentBandwidthInBytesPerSecond
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
Back to top