From c1c5b22058d5f6c53bfd8c691af900ba7c3d98ea Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 27 Apr 2014 22:41:07 +1000 Subject: [PATCH] There is no need to poll every second in the receiver thread --- src/connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.c b/src/connector.c index 545c9777..deecffd9 100644 --- a/src/connector.c +++ b/src/connector.c @@ -193,7 +193,7 @@ retry: } ck_runlock(&ci->lock); - ret = poll(fds, nfds, 1000); + ret = poll(fds, nfds, 60000); if (ret < 0) { if (interrupted()) goto retry;