Browse Source

Timeout should be updated on each loop in proxy_recv

master
Con Kolivas 9 years ago
parent
commit
0d6fb758d6
  1. 2
      src/generator.c

2
src/generator.c

@ -1290,8 +1290,8 @@ static void *proxy_recv(void *arg)
/* If we don't get an update within 10 minutes the upstream pool
* has likely stopped responding. */
timeout = 10;
do {
timeout = 10;
if (cs->fd == -1) {
ret = -1;
break;

Loading…
Cancel
Save