Merge pull request #137778 from bitoku/genericpleg

Set 0 to trigger the relist immediately
This commit is contained in:
Kubernetes Prow Robot
2026-03-17 01:59:38 +05:30
committed by GitHub

View File

@@ -167,7 +167,9 @@ func (g *GenericPLEG) Start() {
g.isRunning = true
g.stopCh = make(chan struct{})
g.globalRelistTimer = g.clock.NewTimer(g.relistDuration.RelistPeriod)
// Set 0 to trigger the first relist immediately
// The RelistPeriod is set after the first relist.
g.globalRelistTimer = g.clock.NewTimer(0)
go func() {
for g.workerLoopIteration() {