Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for replenish (0.15 sec)

  1. pkg/controller/resourcequota/resource_quota_monitor.go

    }
    
    // QuotaMonitor contains all necessary information to track quotas and trigger replenishments
    type QuotaMonitor struct {
    	// each monitor list/watches a resource and determines if we should replenish quota
    	monitors    monitors
    	monitorLock sync.RWMutex
    	// informersStarted is closed after all the controllers have been initialized and are running.
    	// After that it is safe to start them here, before that it is not.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. pkg/util/async/bounded_frequency_runner_test.go

    	timer.advance(1 * time.Millisecond) // abs=501ms, rel=500ms
    	runner.Run()
    	waitForDefer("too soon after second 3", t, timer, obj, 500*time.Millisecond)
    
    	// Advance timer enough to replenish bursts, but not enough to be minInterval
    	// after the last run
    	timer.advance(499 * time.Millisecond) // abs=1000ms, rel=999ms
    	waitForNothing("not minInterval", t, timer, obj)
    	runner.Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. pkg/controller/resourcequota/resource_quota_controller.go

    	if errors.IsNotFound(err) {
    		utilruntime.HandleError(fmt.Errorf("quota controller could not find ResourceQuota associated with namespace: %s, could take up to %v before a quota replenishes", namespace, rq.resyncPeriod()))
    		return
    	}
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("error checking to see if namespace %s has any ResourceQuota associated with it: %v", namespace, err))
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top