Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProActive
scheduling
Commits
7afcbb36
Unverified
Commit
7afcbb36
authored
Jun 26, 2020
by
Fabien Viale
Committed by
GitHub
Jun 26, 2020
Browse files
Merge pull request #3779 from fviale/master
Fix bad mistake in housekeeping
parents
bc2293e1
274fa1bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
scheduler/scheduler-server/src/main/java/org/ow2/proactive/scheduler/core/SchedulerFrontend.java
View file @
7afcbb36
...
...
@@ -185,7 +185,7 @@ public class SchedulerFrontend implements InitActive, Scheduler, RunActive, EndA
* Delay to wait for between getting a job result and removing the job
* concerned
*/
private
static
final
long
SCHEDULER_REMOVED_JOB_DELAY
=
PASchedulerProperties
.
SCHEDULER_REMOVED_JOB_DELAY
.
getValueAs
Int
()
*
private
static
final
long
SCHEDULER_REMOVED_JOB_DELAY
=
PASchedulerProperties
.
SCHEDULER_REMOVED_JOB_DELAY
.
getValueAs
Long
()
*
1000
;
private
static
final
Logger
logger
=
Logger
.
getLogger
(
SchedulerFrontend
.
class
);
...
...
scheduler/scheduler-server/src/main/java/org/ow2/proactive/scheduler/core/SchedulingService.java
View file @
7afcbb36
...
...
@@ -86,10 +86,10 @@ public class SchedulingService {
static
final
JobLogger
jlogger
=
JobLogger
.
getInstance
();
static
final
long
SCHEDULER_AUTO_REMOVED_JOB_DELAY
=
PASchedulerProperties
.
SCHEDULER_AUTOMATIC_REMOVED_JOB_DELAY
.
getValueAs
Int
()
*
static
final
long
SCHEDULER_AUTO_REMOVED_JOB_DELAY
=
PASchedulerProperties
.
SCHEDULER_AUTOMATIC_REMOVED_JOB_DELAY
.
getValueAs
Long
()
*
1000
;
static
final
long
SCHEDULER_REMOVED_JOB_DELAY
=
PASchedulerProperties
.
SCHEDULER_REMOVED_JOB_DELAY
.
getValueAs
Int
()
*
static
final
long
SCHEDULER_REMOVED_JOB_DELAY
=
PASchedulerProperties
.
SCHEDULER_REMOVED_JOB_DELAY
.
getValueAs
Long
()
*
1000
;
static
final
String
GENERIC_INFO_REMOVE_DELAY
=
"REMOVE_DELAY"
;
...
...
@@ -158,7 +158,7 @@ public class SchedulingService {
pinger
=
new
NodePingThread
(
this
);
pinger
.
start
();
if
(
PASchedulerProperties
.
SCHEDULER_AUTOMATIC_REMOVED_JOB_DELAY
.
getValueAs
Int
()
>
0
)
{
if
(
PASchedulerProperties
.
SCHEDULER_AUTOMATIC_REMOVED_JOB_DELAY
.
getValueAs
Long
()
>
0
)
{
startHouseKeeping
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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