From 9ccc418a6ceda3ea64042928c5b19878f30ee947 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 22 Oct 2012 23:12:06 +1100 Subject: [PATCH] Switch queued count when choosing a different pool from a failed stratum pool in getwork thread. --- cgminer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgminer.c b/cgminer.c index b5f5e81a..dfe449c5 100644 --- a/cgminer.c +++ b/cgminer.c @@ -2684,6 +2684,8 @@ retry: sleep(5); if (altpool != pool) { wc->pool = altpool; + inc_queued(altpool); + dec_queued(pool); goto retry; } }