Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn
Commits
8270a3fe
Commit
8270a3fe
authored
Sep 10, 2021
by
Sergiu Weisz
Browse files
Set used cores for monitoring after releasing resources
parent
17459672
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/alien/site/JobAgent.java
View file @
8270a3fe
...
...
@@ -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..."
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment