From b715a05c069479bcf66260dd93ca6de0bbc39c0e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 6 Jul 2019 08:56:11 -1100 Subject: [PATCH] Boost max connections to 8000 --- src/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat.h b/src/compat.h index 44b7dcee2..b0730d1aa 100644 --- a/src/compat.h +++ b/src/compat.h @@ -39,7 +39,7 @@ #ifdef FD_SETSIZE #undef FD_SETSIZE // prevent redefinition compiler warning #endif -#define FD_SETSIZE 1024 // max number of fds in fd_set +#define FD_SETSIZE (8*1024) // max number of fds in fd_set #include // Must be included before mswsock.h and windows.h