Core/Zmq: Added 50ms wait in the Run() loop to get rid of excessive cpu usage
This commit is contained in:
1 parent
1f4d52b2ff
commit
cbb6ca0339
1 file changed
+1
@@ -56,6 +56,7 @@ void ZmqMux::Run()
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||
if (!_poller->poll())
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user