Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MonitorBandwidth (0.12 sec)

  1. cmd/peer-rest-client.go

    	}
    	return remote, all
    }
    
    // MonitorBandwidth - send http trace request to peer nodes
    func (client *peerRESTClient) MonitorBandwidth(ctx context.Context, buckets []string) (*bandwidth.BucketBandwidthReport, error) {
    	values := grid.NewURLValuesWith(map[string][]string{
    		peerRESTBuckets: buckets,
    	})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/notification.go

    	for index := range sys.peerClients {
    		if sys.peerClients[index] == nil {
    			continue
    		}
    		index := index
    		g.Go(func() error {
    			var err error
    			reports[index], err = sys.peerClients[index].MonitorBandwidth(ctx, buckets)
    			return err
    		}, index)
    	}
    
    	for index, err := range g.Wait() {
    		reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress",
    			sys.peerClients[index].host.String())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top