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 f5f06d2c authored by Ard Schrijvers's avatar Ard Schrijvers

REPO-1915 move refresh to try block

parent 77fca1aa
......@@ -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