code.onehippo.org is currently readonly. We are migrating to code.bloomreach.com, please continue working there on Monday 14/12. See: https://docs.bloomreach.com/display/engineering/GitLab

Commit acd6a9b5 authored by Ard Schrijvers's avatar Ard Schrijvers

REPO-1918 [Backport 11.2] move refresh to try block

(cherry picked from commit f5f06d2c)
parent 9722cc19
......@@ -584,8 +584,8 @@ public class JCRJobStore implements JobStore {
}
LockResource lockResource = lock(jobNode, triggerNode);
if (lockResource != null) {
session.refresh(false);
try {
refreshSession(session);
// double check nextFireTime now that we have a lock
if (isPendingTrigger(triggerNode, noLaterThan)) {
if (triggers == null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment