1. Con Kolivas
  2. ckpool

Commits

Con Kolivas  committed afd703a

Add a sleep back between calling proxy_alive to avoid hammering a temporarily misbehaving upstream connection.

Comments (0)

Files changed (1)

File src/generator.c Modified

View file
  • Ignore whitespace
  • Hide word diff
 				 * the generator has been informed to reconnect
 				 * so we may as well serialise calls to
 				 * proxy_alive now */
+				sleep(5);
 				proxy_alive(ckp, proxi, &proxi->cs, true);
 			}
 		}