Skip to content

Conversation

@d80tb7
Copy link
Collaborator

@d80tb7 d80tb7 commented Oct 12, 2024

Move the lookback limit up the stack from the QueuedGangIterator to the QueuedJobsIterator. This has a couple of benefits:

  • Simplifies the QueuedGangIterator, which is already fairly complex
  • Means we can get rid of all the logic about when "Evicted" jobs need to contribute to the lookback. QueuedJobsIterator only ever contains queued jobs (as opposed to evicted jobs) so the lookback always applies.

Queues: testfixtures.SingleQueuePriorityOne("A"),
ExpectedScheduledIndices: []int{0},
},
"MaxQueueLookback": {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This no longer applies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants