RAN_EXECUTE_DUE triggered before onFailureHandler executes #650
goulashify
started this conversation in
General
Replies: 1 comment 1 reply
-
Good to hear 🙏 This sounds like expected behavior. EXECUTE_DUE is just the process that fetches executions that are due and sends them (async) to an ExecutorService for execution. You probably need to wait for the execution-events |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Love db-scheduler, thanks for keeping it tip-top!
This is more of an FYI, not sure if this is a bug or not, but I've built my own TestScheduler, basically ManualScheduler w/ await utils, using a SchedulerListener to listen to events and noticed that when a long failureHandler is used (eg Thread.sleep(500) or so),
RAN_EXECUTE_DUE
is received before the failure handler completes. An ExecutionComplete event is received after the actual failure handler is executed, so:Is this intended behavior?
Cheers,
– Dani
Beta Was this translation helpful? Give feedback.
All reactions