1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

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

This commit is contained in:
Con Kolivas 2012-02-21 16:43:24 +11:00
parent f4284a21a8
commit af7368daca

View File

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