1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-28 15:34:16 +00:00

Switch queued count when choosing a different pool from a failed stratum pool in getwork thread.

This commit is contained in:
Con Kolivas 2012-10-22 23:12:06 +11:00
parent 334a9db41a
commit 9ccc418a6c

View File

@ -2684,6 +2684,8 @@ retry:
sleep(5);
if (altpool != pool) {
wc->pool = altpool;
inc_queued(altpool);
dec_queued(pool);
goto retry;
}
}