Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for numWorkers (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/bucket-lifecycle.go

    	}
    	t.updateWorkers(n)
    }
    
    func (t *transitionState) updateWorkers(n int) {
    	if n == 0 {
    		n = 100
    	}
    
    	for t.numWorkers < n {
    		go t.worker(t.objAPI)
    		t.numWorkers++
    	}
    
    	for t.numWorkers > n {
    		go func() { t.killCh <- struct{}{} }()
    		t.numWorkers--
    	}
    }
    
    var errInvalidStorageClass = errors.New("invalid storage class")
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. cmd/metrics-v2.go

    			expMissedTierJournalTasks.Value = float64(globalExpiryState.stats.MissedTierJournalTasks())
    			expNumWorkers.Value = float64(globalExpiryState.stats.NumWorkers())
    		}
    		if globalTransitionState != nil {
    			trPendingTasks.Value = float64(globalTransitionState.PendingTasks())
    			trActiveTasks.Value = float64(globalTransitionState.ActiveTasks())
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  3. tensorflow/c/eager/c_api_test.cc

      }
    
      return single_host_server_def;
    }
    
    tensorflow::ServerDef GetClusterServerDef(const string& worker_job_name,
                                              int num_workers) {
      tensorflow::ServerDef server_def = GetServerDef(worker_job_name, num_workers);
      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
    
      // Add a client.
      tensorflow::JobDef* job_def2 = cluster_def->add_job();
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 94.6K bytes
    - Click Count (0)
Back to Top