-
Notifications
You must be signed in to change notification settings - Fork 188
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
Request Priority API #2245
Request Priority API #2245
Conversation
@@ -3,6 +3,7 @@ | |||
public enum SingularityAction { | |||
BOUNCE_REQUEST(true), | |||
SCALE_REQUEST(true), | |||
PRIORITIZE_REQUEST(true), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick note, there is an equivalent list in SingularityUI code that mirrors this enum
PRIORITIZED, | ||
PRIORITY_REVERTED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we able to maybe fold these into UPDATED instead somehow? these fields come through on things that a lot of other systems pull in and the roll out can be a pain with the deployer/etc having to know about all the new fields first. If the purpose is just to indicate the action more easily, we can always have the messge text reflect that, which will also show in the UI
🚢 |
Adds an API for modifying request scheduling priority, similar to the request scale API, for cases where specific requests need to be prioritized/deprioritized temporarily or permanently.
Skipped email support, because this isn't intended to be a common action.
Can add UI support similar to the request scale API to this PR, if desired.
cc - @ssalinas, @pschoenfelder