Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 238 for workerCh (0.22 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestWorkerProgressListenerTest.groovy

            testWorkerProgressListener.testWorkerProgressLoggers.get(testEvent.progressLoggerDescription) == testWorkerProgressLogger
        }
    
        def "can register progress loggers for different test workers"() {
            def testWorkerProgressLogger1 = Mock(ProgressLogger)
            def testWorkerProgressLogger2 = Mock(ProgressLogger)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildProgressCrossVersionSpec.groovy

        def "generates events for worker actions with new Worker API (post 5.1)"() {
            expect:
            runBuildWithWorkerAction() != null
        }
    
        private ProgressEvents.Operation runBuildWithWorkerAction() {
            buildFile << """
                import org.gradle.workers.*
                abstract class MyWorkerAction implements WorkAction<WorkParameters.None>{
                    @Override public void execute() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/concepts.md

    Here are some possible combinations and strategies:
    
    * **Gunicorn** managing **Uvicorn workers**
        * Gunicorn would be the **process manager** listening on the **IP** and **port**, the replication would be by having **multiple Uvicorn worker processes**.
    * **Uvicorn** managing **Uvicorn workers**
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. pkg/controller/tainteviction/taint_eviction.go

    			}
    		}
    	}(ctx.Done())
    
    	go func(stopCh <-chan struct{}) {
    		for {
    			podUpdate, shutdown := tc.podUpdateQueue.Get()
    			if shutdown {
    				break
    			}
    			// The fact that pods are processed by the same worker as nodes is used to avoid races
    			// between node worker setting tc.taintedNodes and pod worker reading this to decide
    			// whether to delete pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pkg/controller/resourcequota/resource_quota_controller.go

    	if !cache.WaitForNamedCacheSync("resource quota", ctx.Done(), rq.informerSyncedFuncs...) {
    		return
    	}
    
    	// the workers that chug through the quota calculation backlog
    	for i := 0; i < workers; i++ {
    		go wait.UntilWithContext(ctx, rq.worker(rq.queue), time.Second)
    		go wait.UntilWithContext(ctx, rq.worker(rq.missingUsageQueue), time.Second)
    	}
    	// the timer for how often we do a full recalculation across all quotas
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

        }
    
        // This test simulates a long running Zinc compiler setup by running code similar to ZincScalaCompilerFactory through the worker API.
        // if many workers wait for the same exclusive lock, a worker does not time out because several others get the lock before
        def "worker not timeout"() {
            given:
            def gradleUserHome = file("home").absoluteFile
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

        @ToBeImplemented("https://github.com/gradle/gradle/issues/28203")
        def "native services flag should be passed to the daemon and to the worker"() {
            given:
            executer.withArguments(systemProperties.collect { it.toString() })
            buildScript("""
                import org.gradle.workers.WorkParameters
                import org.gradle.internal.nativeintegration.services.NativeServices
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. internal/logger/target/http/http.go

    	retry:
    		// If the channel reaches above half capacity
    		// we spawn more workers. The workers spawned
    		// from this main worker routine will exit
    		// once the channel drops below half capacity
    		// and when it's been at least 30 seconds since
    		// we launched a new worker.
    		if mainWorker && len(h.logCh) > cap(h.logCh)/2 {
    			nWorkers := atomic.LoadInt64(&h.workers)
    			if nWorkers < h.maxWorkers {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
       * scheduled again for future submissions.
       */
      @GuardedBy("queue")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
       * scheduled again for future submissions.
       */
      @GuardedBy("queue")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top