Browse Source

Reset the recruit count in the event of failed proxy_alive test

master
Con Kolivas 10 years ago
parent
commit
8386d8aede
  1. 3
      src/generator.c

3
src/generator.c

@ -1725,7 +1725,8 @@ retry:
if (alive) { if (alive) {
if (--parent->recruit > 0) if (--parent->recruit > 0)
recruit = true; recruit = true;
} } else /* Reset so the next request will try again */
parent->recruit = 0;
mutex_unlock(&parent->proxy_lock); mutex_unlock(&parent->proxy_lock);
if (recruit) if (recruit)

Loading…
Cancel
Save