Core/Zmq: Added 50ms wait in the Run() loop to get rid of excessive cpu usage

This commit is contained in:
Rat
2014-11-02 16:49:45 +01:00
parent 1f4d52b2ff
commit cbb6ca0339

View File

@@ -56,6 +56,7 @@ void ZmqMux::Run()
{
for (;;)
{
std::this_thread::sleep_for(std::chrono::milliseconds(50));
if (!_poller->poll())
break;