diff --git a/nse_nsock.cc b/nse_nsock.cc index d6bce1ad7..faef19101 100644 --- a/nse_nsock.cc +++ b/nse_nsock.cc @@ -259,7 +259,7 @@ static void set_thread (lua_State *L, int index, struct l_nsock_udata *n) * CONNECT_WAITING is a weak keyed table of pairs. * The table contains threads waiting to make a socket connection. */ -#define MAX_PARALLELISM 40 +#define MAX_PARALLELISM 20 #define THREAD_SOCKETS 1 /* */ #define CONNECT_WAITING 2 /* Threads waiting to lock */