Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for Await (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    	ctx := context.Background()
    	terminate := func() {
    		cacher.Stop()
    		server.Terminate(t)
    	}
    
    	// Since some tests depend on the fact that GetList shouldn't fail,
    	// we wait until the error from the underlying storage is consumed.
    	if err := wait.PollInfinite(100*time.Millisecond, wrappedStorage.ErrorsConsumed); err != nil {
    		t.Fatalf("Failed to inject list errors: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    				}
    			}
    			// Fallback for older uploads without time in the ID.
    			if modTime.IsZero() {
    				wait := deleteMultipartCleanupSleeper.Timer(ctx)
    				fi, err := disk.ReadVersion(ctx, "", minioMetaMultipartBucket, uploadIDPath, "", ReadOptions{})
    				if err != nil {
    					return nil
    				}
    				modTime = fi.ModTime
    				wait()
    			}
    			if time.Since(modTime) < expiry {
    				return nil
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		defer c.watchCache.RUnlock()
    		return err
    	}
    	return nil
    }
    
    // Wait blocks until the cacher is Ready or Stopped, it returns an error if Stopped.
    func (c *Cacher) Wait(ctx context.Context) error {
    	return c.ready.wait(ctx)
    }
    
    // errWatcher implements watch.Interface to return a single error
    type errWatcher struct {
    	result chan watch.Event
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            (build.standardOutput =~ "Pinged owner at port ${socket.localPort}").count
        }
    
        def waitCloseAndFinish(GradleHandle build) {
            Thread.sleep(10 * 1000) //wait 10 seconds, in which the build should only wait for the lock to become available
            receivingLock.close()
            build.waitForFinish()
        }
    
        def replaceSocketReceiver(Runnable reactOnRequest) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. cmd/handler-api.go

    			if val := globalServiceFreeze.Load(); val != nil {
    				if unlock, ok := val.(chan struct{}); ok && unlock != nil {
    					// Wait until unfrozen.
    					select {
    					case <-unlock:
    					case <-r.Context().Done():
    						// if client canceled we don't need to wait here forever.
    						return
    					}
    				}
    			}
    		}
    
    		globalHTTPStats.addRequestsInQueue(1)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/delta_test.go

    	addTestClientEndpoints(s.MemRegistry)
    	s.MemRegistry.AddHTTPService(edsIncSvc, edsIncVip, 8080)
    	s.MemRegistry.SetEndpoints(edsIncSvc, "",
    		newEndpointWithAccount("127.0.0.1", "hello-sa", "v1"))
    	// Wait until the above debounce, to ensure we can precisely check XDS responses without spurious pushes
    	s.EnsureSynced(t)
    
    	ads := s.ConnectDeltaADS().WithID("sidecar~127.0.0.1~test.default~default.svc.cluster.local")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. pkg/kube/krt/informer.go

    		collectionName: o.name,
    		id:             nextUID(),
    		eventHandlers:  &handlers[I]{},
    		augmentation:   o.augmentation,
    		synced:         make(chan struct{}),
    	}
    
    	go func() {
    		// First, wait for the informer to populate
    		if !kube.WaitForCacheSync(o.name, o.stop, c.HasSynced) {
    			return
    		}
    		// Now, take all our handlers we have built up and register them...
    		handlers := h.eventHandlers.MarkInitialized()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/qos_container_manager_linux.go

    	// update qos cgroup tiers on startup and in periodic intervals
    	// to ensure desired state is in sync with actual state.
    	go wait.Until(func() {
    		err := m.UpdateCgroups()
    		if err != nil {
    			klog.InfoS("Failed to reserve QoS requests", "err", err)
    		}
    	}, periodicQOSCgroupUpdateInterval, wait.NeverStop)
    
    	return nil
    }
    
    // setHugePagesUnbounded ensures hugetlb is effectively unbounded
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. schema/schema.go

    	} else {
    		schemaCacheKey = modelType
    	}
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    		<-s.initialized
    		return s, s.err
    	}
    
    	modelValue := reflect.New(modelType)
    	tableName := namer.TableName(modelType.Name())
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet.go

    		// fairness effect.
    		go wait.JitterUntil(kl.syncNodeStatus, kl.nodeStatusUpdateFrequency, 0.04, true, wait.NeverStop)
    		go kl.fastStatusUpdateOnce()
    
    		// start syncing lease
    		go kl.nodeLeaseController.Run(context.Background())
    	}
    	go wait.Until(kl.updateRuntimeUp, 5*time.Second, wait.NeverStop)
    
    	// Set up iptables util rules
    	if kl.makeIPTablesUtilChains {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top