armada icon indicating copy to clipboard operation
armada copied to clipboard

Move scheduling key check into the QueuedJobsIterator

Open d80tb7 opened this issue 1 year ago • 0 comments

The scheduling key check used to be in theQueuedGangIterator. I've moved it to to the QueuedJobsIterator because:

  • It simplifies QueuedGangIterator
  • It means we exit asap if we know a job is unscheduable.
  • The QueuedJobsIterator is only used for Queued (i.e. not evicted) jobs. This means we don't have to mess around with invalidating and skipping scheduling keys.

d80tb7 avatar Oct 12 '24 16:10 d80tb7