mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
Don't decrement staged extras count from longpoll work.
This commit is contained in:
parent
d93e5f710d
commit
49dd8fb548
@ -2425,7 +2425,7 @@ static int discard_stale(void)
|
||||
HASH_ITER(hh, staged_work, work, tmp) {
|
||||
if (stale_work(work, false)) {
|
||||
HASH_DEL(staged_work, work);
|
||||
if (work->clone || work->longpoll)
|
||||
if (work->clone)
|
||||
--staged_extras;
|
||||
discard_work(work);
|
||||
stale++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user