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

Separate manual scheduler in to its own class #4281

Merged
merged 3 commits into from
Sep 13, 2023

Conversation

clemahieu
Copy link
Contributor

  • This creates the nano::scheduler::manual class which uses functionality moved from nano::scheduler::priority.
  • Previously, the manual and priority queues were being run by the same thread within the same class.
  • Starting and stopping the scheduler component threads is now the responsibility of scheduler::component, rather than being handled directly within nano::node.
  • Rename scheduler component threads reported thread names to be more uniform.

@clemahieu clemahieu marked this pull request as ready for review September 12, 2023 20:02
@clemahieu
Copy link
Contributor Author

ct.bnano.info tests are green.

This changes the order in which elections are scheduled. Both manual and prioritized elections are scheduled in parallel. Previously, manually scheduled elections would always be started before general prioritized elections.
@clemahieu clemahieu merged commit 9bbbc08 into nanocurrency:develop Sep 13, 2023
15 of 17 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.

1 participant