mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +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) {
|
HASH_ITER(hh, staged_work, work, tmp) {
|
||||||
if (stale_work(work, false)) {
|
if (stale_work(work, false)) {
|
||||||
HASH_DEL(staged_work, work);
|
HASH_DEL(staged_work, work);
|
||||||
if (work->clone || work->longpoll)
|
if (work->clone)
|
||||||
--staged_extras;
|
--staged_extras;
|
||||||
discard_work(work);
|
discard_work(work);
|
||||||
stale++;
|
stale++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user