Poll every 100ms instead of every second in the connector to rapidly pick up new clients

This commit is contained in:
Con Kolivas 2014-10-03 22:57:27 +10:00
parent 26b4037eff
commit 5c6e048a2e

View File

@ -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;