From db012ba9c2aef288c9b68070cd2441d1ea8c67dd Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 17 Jun 2014 22:55:38 +1000 Subject: [PATCH] Increase default listen backlog in libckpool open_unix_server to 10 --- src/libckpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libckpool.c b/src/libckpool.c index ca679931..075c994c 100644 --- a/src/libckpool.c +++ b/src/libckpool.c @@ -559,7 +559,7 @@ int _open_unix_server(const char *server_path, const char *file, const char *fun goto out; } - ret = listen(sockd, 1); + ret = listen(sockd, 10); if (unlikely(ret < 0)) { LOGERR("Failed to listen to socket in open_unix_server"); close_unix_socket(sockd, server_path);