Poll every 100ms instead of every second in the connector to rapidly pick up new clients
This commit is contained in:
parent
26b4037eff
commit
5c6e048a2e
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user