- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for forgetWatch (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go
// This is race-free because by this point, one of the following occurred: // case <-shouldStartWatchCh: execute() completed the assignment to forgetWatch // case <-resultCh: Handle() completed, and Handle() does not return // while execute() is running if forgetWatch != nil { forgetWatch() } }() execute := func() { startedAt := time.Now() defer func() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 15.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go
resource: requestInfo.Resource, namespace: requestInfo.Namespace, name: requestInfo.Name, } w.lock.Lock() defer w.lock.Unlock() w.updateIndexLocked(identifier, index, 1) return w.forgetWatch(identifier, index) } func (w *watchTracker) updateIndexLocked(identifier *watchIdentifier, index *indexValue, incr int) { if index == nil { w.watchCount[*identifier] += incr } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 7.4K bytes - Viewed (0)