From 5c6e048a2e1afae1ac035a96de8f15c3b40e57cf Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 3 Oct 2014 22:57:27 +1000 Subject: [PATCH] Poll every 100ms instead of every second in the connector to rapidly pick up new clients --- src/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index 083e6b9e..9538ce6c 100644 --- a/src/connector.c +++ b/src/connector.c @@ -302,7 +302,7 @@ retry: cksleep_ms(100); goto retry; } - ret = poll(fds, nfds, 1000); + ret = poll(fds, nfds, 100); if (unlikely(ret < 0)) { LOGERR("Failed to poll in receiver"); goto out;