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

Increase delay in ping loop, leave slurmctld enought time to get set up

and use fewer compute cycles too.
parent 0f17c566
No related branches found
No related tags found
No related merge requests found
......@@ -2049,7 +2049,7 @@ run_backup (void)
/* repeatedly ping ControlMachine */
while (shutdown_time == 0) {
sleep (1);
sleep (5); /* Give the primary slurmctld time to get set up */
if (difftime (time(NULL), last_ping) < slurmctld_conf.heartbeat_interval)
continue;
......
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