Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 320 for Dequeue (0.56 sec)

  1. pkg/scheduler/framework/interface.go

    // and Pods rejected by these plugins are requeued based on this extension point.
    // Failures from other extension points are regarded as temporal errors (e.g., network failure),
    // and the scheduler requeue Pods without this extension point - always requeue Pods to activeQ after backoff.
    // This is because such temporal errors cannot be resolved by specific cluster events,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. pkg/controller/deployment/deployment_controller_test.go

    	dc.addReplicaSet(klog.FromContext(ctx), rs1)
    	if got, want := dc.queue.Len(), 1; got != want {
    		t.Fatalf("queue.Len() = %v, want %v", got, want)
    	}
    	key, done := dc.queue.Get()
    	if key == "" || done {
    		t.Fatalf("failed to enqueue controller for rs %v", rs1.Name)
    	}
    	expectedKey, _ := controller.KeyFunc(d1)
    	if got, want := key, expectedKey; got != want {
    		t.Errorf("queue.Get() = %v, want %v", got, want)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. pkg/controller/storageversionmigrator/storageversionmigrator.go

    	key, quit := svmc.queue.Get()
    	if quit {
    		return false
    	}
    	defer svmc.queue.Done(key)
    
    	err := svmc.sync(ctx, key)
    	if err == nil {
    		svmc.queue.Forget(key)
    		return true
    	}
    
    	klog.FromContext(ctx).V(2).Info("Error syncing SVM resource, retrying", "svm", key, "err", err)
    	svmc.queue.AddRateLimited(key)
    
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    // processNextWorkItem deals with one key off the queue.  It returns false when it's time to quit.
    func (c *Controller) processNextWorkItem() bool {
    	// pull the next work item from queue.  It should be a key we use to lookup something in a cache
    	key, quit := c.queue.Get()
    	if quit {
    		return false
    	}
    	// you always have to indicate to the queue that you've completed a piece of work
    	defer c.queue.Done(key)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    					qs.qCfg.Name, now.Format(nsTimeFmt), qs.currentR, r.descr1, r.descr2, r.workEstimate.MaxSeats(), r.queue.index,
    					r.queue.nextDispatchR, actualServiceDuration.Seconds(), r.queue.requestsWaiting.Length(), r.queue.requestsWaiting.QueueSum(), r.queue.requestsExecuting.Len(), r.queue.seatsInUse)
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse.Builder()
            .body(Buffer().write(ByteArray(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE + 1)))
            .build(),
        )
        server.enqueue(
          MockResponse(body = "abc"),
        )
        // Enqueue an additional response that show if we burnt a good prior response.
        server.enqueue(
          MockResponse(body = "XXX"),
        )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. .github/workflows/team-triage-stale.yml

    name: 'Requeue stale team-triage items'
    on:
      schedule:
        # Execute every day at 00:05 to avoid conflicts with other workflows
        - cron: '5 0 * * *'
    
    permissions: {}
    
    jobs:
      requeue:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          - uses: actions/stale@v9
            with:
              operations-per-run: 50
              remove-stale-when-updated: false
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 835 bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        }
    
        this.threadStarted = threadStarted;
      }
    
      @Override
      public void close() {
        frqRef.enqueue();
        cleanUp();
      }
    
      /**
       * Repeatedly dequeues references from the queue and invokes {@link
       * FinalizableReference#finalizeReferent()} on them until the queue is empty. This method is a
       * no-op if the background thread was created successfully.
       */
      void cleanUp() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. pkg/controller/deployment/deployment_controller.go

    	}
    
    	if dc.queue.NumRequeues(key) < maxRetries {
    		logger.V(2).Info("Error syncing deployment", "deployment", klog.KRef(ns, name), "err", err)
    		dc.queue.AddRateLimited(key)
    		return
    	}
    
    	utilruntime.HandleError(err)
    	logger.V(2).Info("Dropping deployment out of the queue", "deployment", klog.KRef(ns, name), "err", err)
    	dc.queue.Forget(key)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (writerTask != null) {
          taskQueue.schedule(writerTask)
        }
      }
    
      /**
       * Attempts to remove a single frame from a queue and send it. This prefers to write urgent pongs
       * before less urgent messages and close frames. For example it's possible that a caller will
       * enqueue messages followed by pongs, but this sends pongs followed by messages. Pongs are always
       * written in the order they were enqueued.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top