Skip to content

Commit

Permalink
Merge branch 'TASK-6219' of github.com:opencb/opencga into TASK-6219
Browse files Browse the repository at this point in the history
  • Loading branch information
j-coll committed Oct 16, 2024
2 parents a028b40 + 9e1ef85 commit ced9545
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,10 @@ public MonitorParentDaemon setBatchExecutor(BatchExecutor batchExecutor) {
}

@Override
public void apply() throws Exception {
protected void apply() throws Exception {
checkJobs();
}


@Override
public void close() throws IOException {
batchExecutor.close();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void init() throws Exception {

}

public abstract void apply() throws Exception;
protected abstract void apply() throws Exception;

@Override
public void close() throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private void checkPendingChore(OperationChore operationChore, Project project) t
paramsMap.put(ParamConstants.PROJECT_PARAM, project.getFqn());
catalogManager.getJobManager().submit(studyFqns.get(0), toolId, Enums.Priority.HIGH, paramsMap, null,
generateJobDescription(config, operationChore, attributes), null,
Collections.singletonList(TAG), null, null, null, attributes, token);
Collections.singletonList(TAG), null, null, false, attributes, token);
}
}

Expand Down Expand Up @@ -206,7 +206,7 @@ private void checkPendingChore(OperationChore operationChore, Project project, S
paramsMap.put(ParamConstants.STUDY_PARAM, study.getFqn());
catalogManager.getJobManager().submit(study.getFqn(), toolId, Enums.Priority.HIGH, paramsMap, null,
generateJobDescription(config, operationChore, attributes), null,
Collections.singletonList(TAG), null, null, null, attributes, token);
Collections.singletonList(TAG), null, null, false, attributes, token);
}
}

Expand Down

0 comments on commit ced9545

Please sign in to comment.