From 4e5c5e74772aa932b8afa024616690bfde733f27 Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 21 Sep 2014 10:49:33 +0200 Subject: [PATCH] lib/connection/basicserver: raise queue limit Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/27a3a92b2d6b677949563afeaebd11e801206841 Author: martii Date: 2014-09-21 (Sun, 21 Sep 2014) --- lib/connection/basicserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connection/basicserver.cpp b/lib/connection/basicserver.cpp index d391d65ff..6463ae6ae 100644 --- a/lib/connection/basicserver.cpp +++ b/lib/connection/basicserver.cpp @@ -106,7 +106,7 @@ bool CBasicServer::prepare(const char* socketname) return false; } -#define N_connection_requests_queued 5 +#define N_connection_requests_queued 128 if (listen(sock_fd, N_connection_requests_queued) != 0) {