1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-08-26 22:02:09 +00:00

Stratum disconnect shares - count total against stale

This commit is contained in:
Kano 2013-01-26 21:57:09 +11:00 committed by Con Kolivas
parent ffdcaed49d
commit f52f02e9b7

View File

@ -4581,8 +4581,8 @@ static void clear_stratum_shares(struct pool *pool)
if (cleared) { if (cleared) {
applog(LOG_WARNING, "Lost %d shares due to stratum disconnect on pool %d", cleared, pool->pool_no); applog(LOG_WARNING, "Lost %d shares due to stratum disconnect on pool %d", cleared, pool->pool_no);
pool->stale_shares++; pool->stale_shares += cleared;
total_stale++; total_stale += cleared;
} }
} }