diff --git a/src/libckpool.c b/src/libckpool.c index e4f9bd3b..fc3d8213 100644 --- a/src/libckpool.c +++ b/src/libckpool.c @@ -707,7 +707,7 @@ char *_recv_unix_msg(int sockd, const char *file, const char *func, const int li uint32_t msglen; int ret; - ret = wait_read_select(sockd, 5); + ret = wait_read_select(sockd, 30); if (unlikely(ret < 1)) { LOGERR("Select1 failed in recv_unix_msg"); goto out; @@ -723,7 +723,7 @@ char *_recv_unix_msg(int sockd, const char *file, const char *func, const int li LOGWARNING("Invalid message length zero sent to recv_unix_msg"); goto out; } - ret = wait_read_select(sockd, 5); + ret = wait_read_select(sockd, 0); if (unlikely(ret < 1)) { LOGERR("Select2 failed in recv_unix_msg"); goto out;