Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Netperf (0.16 sec)

  1. cmd/site-replication.go

    		if !reflect.DeepEqual(s[i], s[0]) {
    			return errSRIAMConfigMismatch(peers[0].Name, peers[i].Name, s[0], s[i])
    		}
    	}
    
    	return nil
    }
    
    // Netperf for site-replication net perf
    func (c *SiteReplicationSys) Netperf(ctx context.Context, duration time.Duration) (results madmin.SiteNetPerfResult, err error) {
    	infos, err := globalSiteReplicationSys.GetClusterInfo(ctx)
    	if err != nil {
    		return results, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/admin-handlers.go

    		// We need sample size of minimum 10 secs.
    		duration = globalNetPerfMinDuration
    	}
    
    	duration = duration.Round(time.Second)
    
    	results, err := globalSiteReplicationSys.Netperf(ctx, duration)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL)
    		return
    	}
    	enc := json.NewEncoder(w)
    	if err := enc.Encode(results); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top