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

Relocate HAVE_BGL test so that when slurmd is non-responsive, all nodes

get set DOWN rather than just the first one.
parent ca449c15
No related branches found
No related tags found
No related merge requests found
......@@ -175,16 +175,16 @@ void ping_nodes (void)
continue;
}
#ifdef HAVE_BGL /* Only one front-end node */
if (i > 0)
continue;
#endif
if (node_ptr->last_response == (time_t)0) {
no_resp_flag = 1;
node_ptr->last_response = slurmctld_conf.last_update;
}
#ifdef HAVE_BGL /* Only one front-end node */
if (i > 0)
continue;
#endif
/* Request a node registration if its state is UNKNOWN or
* on a periodic basis (about every MAX_REG_FREQUENCY ping,
* this mechanism avoids an additional (per node) timer or
......
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