mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Stratum disconnect shares - count total against stale
This commit is contained in:
parent
05157e0802
commit
7388942bbd
@ -4601,8 +4601,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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user