Skip to content

Add scheduler #5

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

Merged
merged 3 commits into from
Jul 23, 2023
Merged

Add scheduler #5

merged 3 commits into from
Jul 23, 2023

Conversation

raphael
Copy link
Member

@raphael raphael commented Jul 23, 2023

  • Add ticker and scheduler to pool package
  • Add TestAndSet to rmap package
  • Fix bug in pool package that logged incorrect errors on stopping jobs
  • Fix bug in pool package in logic handing job dispatch return status

The rmap package now supports testing values before setting them atomically via the new TestAndSet method of the Map struct.
The pool package now supports creating distributed tickers where each tick executes in exactly one node via the NewTicker method of the node struct.
Both functionality are used to add the ability to create schedules that start and stop jobs on a recurring basis via the new Schedule method of the node struct.

raphael added 3 commits July 22, 2023 12:48
Add TestAndSet to rmap package
Fix bug in pool package that logged incorrect errors on stopping jobs
Fix issue with job dispatch return status handling.
@raphael raphael merged commit 1e9f0ec into main Jul 23, 2023
@raphael raphael deleted the add_scheduler branch July 23, 2023 22:28
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