Skip to content
Snippets Groups Projects
Commit a2642452 authored by Danny Auble's avatar Danny Auble
Browse files

fixed output for timeout info in the hierarchical communications.

parent 141a3145
No related branches found
No related tags found
No related merge requests found
...@@ -930,9 +930,8 @@ List slurm_receive_msgs(slurm_fd fd, int steps, int timeout) ...@@ -930,9 +930,8 @@ List slurm_receive_msgs(slurm_fd fd, int steps, int timeout)
orig_timeout = timeout; orig_timeout = timeout;
} }
if(steps) { if(steps) {
orig_timeout = timeout/steps; orig_timeout = (timeout - (5000*(steps-1)))/steps;
steps--; steps--;
orig_timeout -= (5000*steps);
} }
debug4("orig_timeout was %d we have %d steps and a timeout of %d", debug4("orig_timeout was %d we have %d steps and a timeout of %d",
......
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