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

setting priority random #376

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

mski-iksm
Copy link
Contributor

@mski-iksm mski-iksm commented May 21, 2024

Changing priority randomly to sort the order of task scheduling randomly.

This is useful when jobs are running in parallel.
Together with the complete check function during run (complete_check_at_run; default True), it will speeds up parallel execution, because each job will run different task in different order and same tasks will not be ran.

The disadvantage is that the order of execution is scattered, so it changes a little each time when looking at the log.

Copy link
Member

@Hi-king Hi-king left a comment

Choose a reason for hiding this comment

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

Looks Good. Drawback should be small enough

@Hi-king Hi-king enabled auto-merge (squash) May 21, 2024 10:37
@Hi-king Hi-king merged commit a31565e into m3dev:master May 21, 2024
5 checks passed
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.

None yet

2 participants