Browse Source

There is no need to poll every second in the receiver thread

master
Con Kolivas 11 years ago
parent
commit
c1c5b22058
  1. 2
      src/connector.c

2
src/connector.c

@ -193,7 +193,7 @@ retry:
} }
ck_runlock(&ci->lock); ck_runlock(&ci->lock);
ret = poll(fds, nfds, 1000); ret = poll(fds, nfds, 60000);
if (ret < 0) { if (ret < 0) {
if (interrupted()) if (interrupted())
goto retry; goto retry;

Loading…
Cancel
Save