Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 238 for workerCh (0.25 sec)

  1. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    	})
    
    	tc.jLister = jobInformer.Lister()
    	tc.jListerSynced = jobInformer.Informer().HasSynced
    
    	tc.clock = clock.RealClock{}
    
    	return tc
    }
    
    // Run starts the workers to clean up Jobs.
    func (tc *Controller) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer tc.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    	logger.Info("Starting TTL after finished controller")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/prober_manager_test.go

    			unprobed, probedReady, probedPending, probedUnready, notStartedNoReadiness, startedNoReadiness, terminated,
    		},
    	}
    
    	m := newTestManager()
    	// no cleanup: using fake workers.
    
    	// Setup probe "workers" and cached results.
    	m.workers = map[probeKey]*worker{
    		{testPodUID, unprobed.Name, liveness}:             {},
    		{testPodUID, probedReady.Name, readiness}:         {},
    		{testPodUID, probedPending.Name, readiness}:       {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    		return
    	}
    
    	logger.V(2).Info("Starting worker threads", "total", workers)
    	for i := 0; i < workers; i++ {
    		go wait.Until(func() { c.worker(logger) }, c.workerLoopPeriod, ctx.Done())
    	}
    
    	<-ctx.Done()
    }
    
    // worker runs a worker thread that just dequeues items, processes them, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication-stats.go

    	sync.RWMutex                 // mutex for Cache
    	mostRecentStatsMu sync.Mutex // mutex for mostRecentStats
    
    	wlock sync.RWMutex // mutex for active workers
    
    	movingAvgTicker *time.Ticker // Ticker for calculating moving averages
    	wTimer          *time.Ticker // ticker for calculating active workers
    	qTimer          *time.Ticker // ticker for calculating queue stats
    }
    
    func (r *ReplicationStats) trackEWMA() {
    	for {
    		select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTaskIntegrationTest.groovy

    import org.gradle.api.DefaultTask
    import org.gradle.api.tasks.TaskAction
    import org.gradle.process.ExecOperations
    import org.gradle.workers.WorkAction
    import org.gradle.workers.WorkParameters
    import org.gradle.workers.WorkQueue
    import org.gradle.workers.WorkerExecutor
    
    import javax.inject.Inject
    
    import static org.gradle.internal.cc.impl.fixtures.ExternalProcessFixture.exec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.workers.internal
    
    
    import org.gradle.integtests.fixtures.timeout.IntegrationTestTimeout
    import org.gradle.test.fixtures.server.http.BlockingHttpServer
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.gradle.workers.fixtures.WorkerExecutorFixture
    import org.junit.Rule
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/docker.md

    So, in this case, you **would not** want to have a process manager like Gunicorn with Uvicorn workers, or Uvicorn using its own Uvicorn workers. You would want to have just a **single Uvicorn process** per container (but probably multiple containers).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHub.java

        public MessageHub(String displayName, ExecutorFactory executorFactory, Action<? super Throwable> errorHandler) {
            this.displayName = displayName;
            this.errorHandler = errorHandler;
            workers = executorFactory.create(displayName + " workers");
        }
    
        /**
         * <p>Adds a {@link Dispatch} implementation that can be used to send outgoing unicast messages on the given channel. Messages are queued in the order that they are
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    Gradle provides a number of useful services that can be used by custom Gradle types.
    For example, the link:{javadocPath}/org/gradle/workers/WorkerExecutor.html[WorkerExecutor] service can be used by a task to run work in parallel, as seen in the <<worker_api.adoc#worker_api,worker API>> section.
    The services are made available through _service injection_.
    
    [[services_for_injection]]
    == Available services
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. pkg/controller/endpointslice/endpointslice_controller.go

    		return
    	}
    
    	logger.V(2).Info("Starting service queue worker threads", "total", workers)
    	for i := 0; i < workers; i++ {
    		go wait.Until(func() { c.serviceQueueWorker(logger) }, c.workerLoopPeriod, ctx.Done())
    	}
    	logger.V(2).Info("Starting topology queue worker threads", "total", 1)
    	go wait.Until(func() { c.topologyQueueWorker(logger) }, c.workerLoopPeriod, ctx.Done())
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top