mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 23:14:21 +00:00
Count longpoll's contribution to the queue.
This commit is contained in:
parent
05bc638d97
commit
d93e5f710d
@ -4137,8 +4137,10 @@ static void convert_to_work(json_t *val, int rolltime, struct pool *pool)
|
||||
|
||||
if (unlikely(!stage_work(work)))
|
||||
free_work(work);
|
||||
else
|
||||
else {
|
||||
inc_queued();
|
||||
applog(LOG_DEBUG, "Converted longpoll data to work");
|
||||
}
|
||||
}
|
||||
|
||||
/* If we want longpoll, enable it for the chosen default pool, or, if
|
||||
|
Loading…
x
Reference in New Issue
Block a user