Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ActiveWorkers (0.09 sec)

  1. cmd/bucket-stats.go

    	qs.NodeName = globalLocalNodeName
    	qs.Uptime = UTCNow().Unix() - globalBootTime.Unix()
    	grs := globalReplicationStats.Load()
    	if grs != nil {
    		qs.ActiveWorkers = grs.ActiveWorkers()
    	} else {
    		qs.ActiveWorkers = ActiveWorkerStat{}
    	}
    	qs.XferStats = make(map[RMetricName]XferStats)
    	qs.QStats = r.qCache.getBucketStats(bucket)
    	qs.TgtXferStats = make(map[string]map[RMetricName]XferStats)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    		p.lrgworkers = p.lrgworkers[:len(p.lrgworkers)-1]
    		xioutil.SafeClose(worker)
    	}
    }
    
    // ActiveWorkers returns the number of active workers handling replication traffic.
    func (p *ReplicationPool) ActiveWorkers() int {
    	return int(atomic.LoadInt32(&p.activeWorkers))
    }
    
    // ActiveMRFWorkers returns the number of active workers handling replication failures.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top