mark node as un-failed during fastrouter retry

This commit is contained in:
Unbit
2015-08-17 16:17:42 +02:00
parent ec937e1224
commit 110a09cf06
+1
View File
@@ -348,6 +348,7 @@ void corerouter_close_peer(struct uwsgi_corerouter *ucr, struct corerouter_peer
peer->current_timeout = 5;
peer->timeout = corerouter_reset_timeout(ucr, peer);
peer->current_timeout = ucr->socket_timeout;
peer->failed = 0;
return;
}