RandomX: don't restart mining threads when the seed changes
It helps to not loose huge pages when the seed changes (every 2048 blocks, ~2.8 days).
This commit is contained in:
parent
5747ccfafc
commit
7f2f50a8d9
3 changed files with 11 additions and 3 deletions
|
@ -154,6 +154,8 @@ void xmrig::RxQueue::backgroundInit()
|
|||
continue;
|
||||
}
|
||||
|
||||
// Update seed here again in case there was more than one item in the queue
|
||||
m_seed = item.seed;
|
||||
m_state = STATE_IDLE;
|
||||
m_async->send();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue