Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <[email protected]>
  • Loading branch information
nolouch committed May 10, 2023
1 parent 3ba6a7a commit 1abc0e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/cluster/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -911,9 +911,13 @@ func (s *scheduleController) Schedule(diagnosable bool) []*operator.Operator {
}
}
}
if len(ops) > 0 && !foundDisabled {
if len(ops) > 0 {
// If we have schedule, reset interval to the minimal interval.
s.nextInterval = s.Scheduler.GetMinInterval()
// try regenerating operators
if foundDisabled {
continue
}
return ops
}
}
Expand Down

0 comments on commit 1abc0e5

Please sign in to comment.