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

(cherry picked from commit cbb6ca0339)
This commit is contained in:
Rat
2014-11-02 16:49:45 +01:00
committed by DDuarte
parent a7c781a02d
commit 34553afa95

View File

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