Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for enqueuePdb (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    			t.Errorf("Expected no error from the controller, but got: %#v", controllerErr)
    		}
    	})
    
    	t.Run("priority level concurrency is set to 1, queue length is 1, first request should time out and second (enqueued) request should time out as well", func(t *testing.T) {
    		t.Parallel()
    
    		type result struct {
    			err      error
    			response *http.Response
    		}
    
    		const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        a stream timeout to determine whether the connection should remain eligible for pooling.
    
    
    ## Version 3.14.4
    
    _2019-09-29_
    
     *  Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call
        would never call back if it crashed with an unchecked throwable, such as a
        `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            this.dependenciesMayChange = component.getModule().isVirtualPlatform();
        }
    
        // the enqueue and dequeue methods are used for performance reasons
        // in order to avoid tracking the set of enqueued nodes
        boolean enqueue() {
            if (queued) {
                return false;
            }
            queued = true;
            return true;
        }
    
        NodeState dequeue() {
            queued = false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/buildlist.go

    	enqueue = func(m module.Version, pruning modPruning) {
    		if m.Version == "none" {
    			return
    		}
    
    		if _, dup := loading.LoadOrStore(dedupKey{m, pruning}, nil); dup {
    			// m has already been enqueued for loading. Since unpruned loading may
    			// follow cycles in the requirement graph, we need to return early
    			// to avoid making the load queue infinitely long.
    			return
    		}
    
    		loadQueue.Add(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/queue/scheduling_queue.go

    func (p *PriorityQueue) Pop(logger klog.Logger) (*framework.QueuedPodInfo, error) {
    	p.lock.Lock()
    	defer p.lock.Unlock()
    	for p.activeQ.Len() == 0 {
    		// When the queue is empty, invocation of Pop() is blocked until new item is enqueued.
    		// When Close() is called, the p.closed is set and the condition is broadcast,
    		// which causes this loop to continue and return from the Pop().
    		if p.closed {
    			logger.V(2).Info("Scheduling queue is closed")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers_test.go

    		t.Fatalf("unexpected waiting static pods: %s", cmp.Diff(e, a))
    	}
    	// verify all are enqueued
    	if e, a := sets.New[string]("1-normal", "2-static", "4-static", "3-static"), podWorkers.workQueue.(*fakeQueue).Set(); !e.Equal(a) {
    		t.Fatalf("unexpected queued items: %s", cmp.Diff(e, a))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
Back to top