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

statemachine: error during sleeps should not override sleep time #150

Open
schmichael opened this issue Mar 25, 2016 · 0 comments
Open

statemachine: error during sleeps should not override sleep time #150

schmichael opened this issue Mar 25, 2016 · 0 comments
Labels

Comments

@schmichael
Copy link
Contributor

Right now the following can occur:

  • Task goes to sleep at 1am until 3am
  • Task has an error at 2am*
  • Default error handler is used which retries the work at 2:10am

Now instead of running at 3am, the work has run at 2:10am.

The statemachine should make a best effort to wait until 3am to run the work.

* Yes, even sleeping work can suddenly return an error. Its command watcher could fail, or the work could get rebalanced and loading the state could fail.

@schmichael schmichael self-assigned this Mar 25, 2016
@schmichael schmichael added the bug label Mar 25, 2016
@schmichael schmichael removed their assignment Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant