1
0
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:
Con Kolivas 2012-06-25 00:23:58 +10:00
parent 05bc638d97
commit d93e5f710d

View File

@ -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