Skip to content
Snippets Groups Projects
Commit 4c5d785a authored by Anthony Léonard's avatar Anthony Léonard
Browse files

osx: Set event polling to every 10ms in ringcli

It was previously set to 1s which is too slow for other components
such as OpenDHT which kept connecting/deconnecting. Moreover, this
change was already made in the GUI client but the CLI one was
forgotten at that time.

Change-Id: Ifed007b90e9c2f9ccc01e11d90bc2d619bebd40c
parent fc796a3d
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@
#include <signal.h>
#include <getopt.h>
#include <string>
#include <chrono>
#include "dring.h"
#include "callmanager_interface.h"
......@@ -161,7 +162,7 @@ osxTests()
while (true) {
DRing::pollEvents();
sleep(1);
std::this_thread::sleep_for(std::chrono::milliseconds(10));
}
DRing::fini();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment