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

ping nodes after restart even if SlurmdTimeout==0

parent d354206b
No related branches found
No related tags found
No related merge requests found
...@@ -180,6 +180,7 @@ void ping_nodes (void) ...@@ -180,6 +180,7 @@ void ping_nodes (void)
for (i = 0, front_end_ptr = front_end_nodes; for (i = 0, front_end_ptr = front_end_nodes;
i < front_end_node_cnt; i++, front_end_ptr++) { i < front_end_node_cnt; i++, front_end_ptr++) {
if ((slurmctld_conf.slurmd_timeout == 0) && if ((slurmctld_conf.slurmd_timeout == 0) &&
(!restart_flag) &&
(!IS_NODE_UNKNOWN(front_end_ptr)) && (!IS_NODE_UNKNOWN(front_end_ptr)) &&
(!IS_NODE_NO_RESPOND(front_end_ptr))) (!IS_NODE_NO_RESPOND(front_end_ptr)))
continue; continue;
...@@ -239,6 +240,7 @@ void ping_nodes (void) ...@@ -239,6 +240,7 @@ void ping_nodes (void)
if (IS_NODE_FUTURE(node_ptr) || IS_NODE_POWER_SAVE(node_ptr)) if (IS_NODE_FUTURE(node_ptr) || IS_NODE_POWER_SAVE(node_ptr))
continue; continue;
if ((slurmctld_conf.slurmd_timeout == 0) && if ((slurmctld_conf.slurmd_timeout == 0) &&
(!restart_flag) &&
(!IS_NODE_UNKNOWN(node_ptr)) && (!IS_NODE_UNKNOWN(node_ptr)) &&
(!IS_NODE_NO_RESPOND(node_ptr))) (!IS_NODE_NO_RESPOND(node_ptr)))
continue; 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