Skip to content
Snippets Groups Projects
Commit f73c9f97 authored by Moe Jette's avatar Moe Jette
Browse files

Fix for handling zero InactiveLimit better.

parent e80b2442
No related branches found
No related tags found
No related merge requests found
......@@ -639,7 +639,8 @@ static void *_slurmctld_background(void *no_data)
unlock_slurmctld(node_write_lock);
}
if ((difftime(now, last_ping_srun_time) >=
if (slurmctld_conf.inactive_limit &&
(difftime(now, last_ping_srun_time) >=
(slurmctld_conf.inactive_limit / 2))) {
last_ping_srun_time = now;
debug2("Performing srun ping");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment