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:
parent
ffdcaed49d
commit
f52f02e9b7
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user