mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-17 00:07:47 +00:00
Update dataset at normal thread priority
This commit is contained in:
parent
456f5d356f
commit
dd9166e91c
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,8 @@ void RandomX_Hasher::set_seed(const hash& seed)
|
|||
|
||||
threads.emplace_back([this, a, b]()
|
||||
{
|
||||
make_thread_background();
|
||||
// Background doesn't work very well with xmrig mining on all cores
|
||||
//make_thread_background();
|
||||
randomx_init_dataset(m_dataset, m_cache[m_index], a, b - a);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue