Skip to content

Commit

Permalink
[JBPM-10198] delete correct old timer rescheduling a timer (#2336) (#…
Browse files Browse the repository at this point in the history
…2384)

Co-authored-by: Alberto Fanjul <[email protected]>
Co-authored-by: Alberto Fanjul <[email protected]>
  • Loading branch information
3 people authored Feb 6, 2024
1 parent 5c29a7e commit 0dc327a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ protected long calculateDelay(long delay, TimerInstance timer) {

protected TimerInstance rescheduleTimer(TimerInstance timer, TimerManager tm) {
logger.debug("Found timer {} that is going to be canceled", timer);
tm.cancelTimer(timer.getProcessInstanceId(), timer.getTimerId());
tm.cancelTimer(timer.getProcessInstanceId(), timer.getId());
logger.debug("Timer {} canceled successfully", timer);

TimerInstance newTimer = new TimerInstance();
Expand Down

0 comments on commit 0dc327a

Please sign in to comment.