Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MaxWorkers (0.04 sec)

  1. cmd/bucket-replication.go

    			mrfWorkers = min(p.mrfWorkerSize+1, MRFWorkerAutoDefault)
    		}
    	}
    	if maxWorkers > 0 && workers > maxWorkers {
    		workers = maxWorkers
    	}
    
    	if maxWorkers > 0 && mrfWorkers > maxWorkers {
    		mrfWorkers = maxWorkers
    	}
    	if maxLWorkers <= 0 {
    		maxLWorkers = LargeWorkerCount
    	}
    	p.priority = pri
    	p.maxWorkers = maxWorkers
    	p.mu.Unlock()
    	p.ResizeWorkers(workers, 0)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  2. cmd/notification.go

    	// further discussion advised. Remove this comment and remove the worker model
    	// for this function in future.
    	maxWorkers := runtime.GOMAXPROCS(0) / 2
    	ng := WithNPeersThrottled(len(sys.peerClients), maxWorkers)
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		client := client
    		ng.Go(ctx, func() error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
Back to top