Skip to content

Commit

Permalink
Exclude disabled resources from the schedule.Table produced by Schedu…
Browse files Browse the repository at this point in the history
…les()

So the scheduler daemon routine does not create jobs for those.

This is a port of the v2.1 policy in that matter.
  • Loading branch information
cvaroqui committed Jul 25, 2024
1 parent 0cb4a77 commit b7796a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/object/actor_print_schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ func (t *actor) Schedules() schedule.Table {
if !needResMon && r.IsMonitored() {
needResMon = true
}
if r.IsDisabled() {
continue
}
if i, ok := r.(scheduleOptioner); ok {
opts := i.ScheduleOptions()
rid := r.RID()
Expand Down

0 comments on commit b7796a8

Please sign in to comment.