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 authored and DDuarte committed 2014-11-08 13:11:53 +00:00
1 parent a7c781a02d
commit 34553afa95
1 file changed
+1
+1
View File
@@ -56,6 +56,7 @@ void ZmqMux::Run()
{
for (;;)
{
std::this_thread::sleep_for(std::chrono::milliseconds(50));
if (!_poller->poll())
break;