Commit 8270a3fe authored by Sergiu Weisz's avatar Sergiu Weisz
Browse files

Set used cores for monitoring after releasing resources

parent 17459672
......@@ -473,6 +473,7 @@ public class JobAgent implements Runnable {
RUNNING_CPU += reqCPU;
RUNNING_DISK += reqDisk;
RUNNING_JOBAGENTS -= 1;
setUsedCores(0);
requestSync.notifyAll();
}
......@@ -536,8 +537,6 @@ public class JobAgent implements Runnable {
setStatus(jaStatus.DONE);
setUsedCores(0);
monitor.sendParameter("job_id", Integer.valueOf(0));
logger.log(Level.INFO, "Cleaning up after execution...");
......
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