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:
parent
f4284a21a8
commit
af7368daca
@ -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…
x
Reference in New Issue
Block a user