Count longpoll's contribution to the queue.
diff --git a/cgminer.c b/cgminer.c
index 56aaeed..e54916f 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -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