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

DeterministicScheduler repeats failed and cancelled tasks #48

Open
tKe opened this issue May 1, 2013 · 0 comments
Open

DeterministicScheduler repeats failed and cancelled tasks #48

tKe opened this issue May 1, 2013 · 0 comments

Comments

@tKe
Copy link

tKe commented May 1, 2013

The javadoc for ScheduledExecutorService states the following:

If any execution of the task encounters an exception, subsequent executions are suppressed. Otherwise, the task will only terminate via cancellation or termination of the executor.

Currently DeterministicScheduler will always resubmit the task to the deltaQueue if it's a repeating task, regardless of whether the task is cancelled or has encountered an exception.

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

No branches or pull requests

1 participant