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

fix Scheduler.NextRun() not returning the correct value (#574) #575

Merged
merged 2 commits into from
Sep 21, 2023
Merged

fix Scheduler.NextRun() not returning the correct value (#574) #575

merged 2 commits into from
Sep 21, 2023

Conversation

bbaa-bbaa
Copy link

What does this do?

Initialize nearestRun to the next execution time of the first Job in map.

Which issue(s) does this PR fix/relate to?

Resolves #574

List any changes that modify/break current functionality

Have you included tests for your changes?

Did you document any new/modified functionality?

  • Updated example_test.go
  • Updated README.md

Notes

scheduler.go Outdated Show resolved Hide resolved
@JohnRoesler
Copy link
Contributor

@bbaa-bbaa thank you so much for opening an issue and making a PR to solve it 😄

@JohnRoesler JohnRoesler merged commit e07c266 into go-co-op:main Sep 21, 2023
6 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.

[BUG] - Scheduler.NextRun() always returns 0001-01-01 00:00:00 +0000 UTC
2 participants