Browse Source

Count longpoll's contribution to the queue.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
d93e5f710d
  1. 4
      cgminer.c

4
cgminer.c

@ -4137,8 +4137,10 @@ static void convert_to_work(json_t *val, int rolltime, struct pool *pool) @@ -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…
Cancel
Save