diff --git a/src/generator.c b/src/generator.c index 98e9a00d..912aa696 100644 --- a/src/generator.c +++ b/src/generator.c @@ -1725,7 +1725,8 @@ retry: if (alive) { if (--parent->recruit > 0) recruit = true; - } + } else /* Reset so the next request will try again */ + parent->recruit = 0; mutex_unlock(&parent->proxy_lock); if (recruit)