Skip to content

Commit

Permalink
Potential change?
Browse files Browse the repository at this point in the history
  • Loading branch information
wcgunter committed May 9, 2024
1 parent b872419 commit 4d6b5af
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,10 +604,8 @@ public int getNumUpWorkers() {
*/
public List<Map<String, Object>> getWorkerNumRunningProcs() {
return jdbcTemplate.queryForList(
"SELECT cws_worker.id, COUNT(*) AS cnt FROM cws_proc_inst_status," +
"cws_worker,cws_sched_worker_proc_inst WHERE cws_worker.id = cws_sched_worker_proc_inst.claimed_by_worker" +
" AND cws_sched_worker_proc_inst.proc_inst_id = cws_proc_inst_status.proc_inst_id AND " +
"cws_proc_inst_status.status NOT LIKE '%complete%' GROUP BY cws_worker.id");
"SELECT cws_worker.id, COUNT(*) AS cnt FROM cws_proc_inst_status,cws_worker "
+ "WHERE cws_proc_inst_status.status NOT LIKE '%complete%' GROUP BY cws_worker.id");
}


Expand Down

0 comments on commit 4d6b5af

Please sign in to comment.