re-enable multithreading on clients but not on service nodes

pull/1658/head
Jeff Becker 3 years ago
parent d7a51e88f5
commit 5074dd5f2b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1407,8 +1407,10 @@ namespace llarp
void
Router::QueueWork(std::function<void(void)> func)
{
_loop->call_soon(func);
// m_lmq->job(std::move(func));
if (m_isServiceNode)
_loop->call_soon(std::move(func));
else
m_lmq->job(std::move(func));
}
void

Loading…
Cancel
Save