Skip to content

add job priority#101

Merged
MarkTNO merged 4 commits intomainfrom
98-add-job-priority
Apr 11, 2025
Merged

add job priority#101
MarkTNO merged 4 commits intomainfrom
98-add-job-priority

Conversation

@MarkTNO
Copy link
Contributor

@MarkTNO MarkTNO commented Apr 10, 2025

No description provided.

@MarkTNO MarkTNO linked an issue Apr 10, 2025 that may be closed by this pull request
auto_disconnect_on_result: bool,
job_reference: Optional[str] = None,
auto_cleanup_after_ttl: Optional[timedelta] = JOB_QUEUES_TTL,
job_priority: JobSubmission.JobPriority | int = JobSubmission.JobPriority.LOW,
Copy link
Member

Choose a reason for hiding this comment

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

Would it perhaps be a good idea to set the default on MEDIUM instead of LOW? This would allow new jobs to be both a lower and higher priority than the default. Gives a bit more flexibility in operation.

@MarkTNO MarkTNO merged commit 359072a into main Apr 11, 2025
32 checks passed
@MarkTNO MarkTNO deleted the 98-add-job-priority branch April 11, 2025 14:14
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.

Add job priority

3 participants