Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduler: calculate node.allocatableByPriority after load from db #4127

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

robertdavidsmith
Copy link
Collaborator

@robertdavidsmith robertdavidsmith commented Jan 8, 2025

There is no need to store schedulerobjects.Node.allocatableByPriority in the db, doing so just makes it hard to change, it can be calculated from other fields of schedulerobjects.Node after loading.

@robertdavidsmith robertdavidsmith enabled auto-merge (squash) January 8, 2025 10:44
@robertdavidsmith robertdavidsmith merged commit 33f3a27 into master Jan 8, 2025
20 checks passed
@robertdavidsmith robertdavidsmith deleted the sched-internal-calc-alloc branch January 8, 2025 10:51
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