Browse Source

Don't make rolled work from the longpoll be seen as other longpoll work items.

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

1
cgminer.c

@ -3503,6 +3503,7 @@ static void convert_to_work(json_t *val, bool rolltime, struct pool *pool) @@ -3503,6 +3503,7 @@ static void convert_to_work(json_t *val, bool rolltime, struct pool *pool)
memcpy(work_clone, work, sizeof(struct work));
while (reuse_work(work)) {
work_clone->clone = true;
work_clone->longpoll = false;
applog(LOG_DEBUG, "Pushing rolled converted work to stage thread");
if (unlikely(!stage_work(work_clone)))
break;

Loading…
Cancel
Save