We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e938c commit de4232dCopy full SHA for de4232d
pkg/internal/controller/controller.go
@@ -379,8 +379,8 @@ func (c *Controller[request]) startEventSourcesAndQueueLocked(ctx context.Contex
379
// which won't be garbage collected if we hold a reference to it.
380
c.startWatches = nil
381
382
- // Mark event sources as started after resetting the startWatches slice to no-op a Watch()
383
- // call after event sources have been started.
+ // Mark event sources as started after resetting the startWatches slice so that watches from
+ // a new Watch() call are immediately started.
384
c.startedEventSourcesAndQueue = true
385
})
386
0 commit comments