Skip to content

Commit

Permalink
release BLOCKED triggers in releaseAcquiredTrigger
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma committed Nov 7, 2019
1 parent c977b38 commit 05fd35c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Quartz/Impl/AdoJobStore/JobStoreSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2726,6 +2726,7 @@ public virtual Task ResumeAll(CancellationToken cancellationToken = default)
try
{
await Delegate.UpdateTriggerStateFromOtherState(conn, trigger.Key, StateWaiting, StateAcquired, cancellationToken).ConfigureAwait(false);
await Delegate.UpdateTriggerStateFromOtherState(conn, trigger.Key, StateWaiting, StateBlocked, cancellationToken).ConfigureAwait(false);
await Delegate.DeleteFiredTrigger(conn, trigger.FireInstanceId, cancellationToken).ConfigureAwait(false);
}
catch (Exception e)
Expand Down

0 comments on commit 05fd35c

Please sign in to comment.