From 04685b77a5159157a15e5086643e6759a4737208 Mon Sep 17 00:00:00 2001 From: batrick Date: Wed, 15 Jul 2009 15:27:16 +0000 Subject: [PATCH] Changed default --max-parallelism for the NSE Nsock library binding to 20 after discussion in the NSE meeting. We are using this value due to machines on very poor network connections occupying a niche in Nmap's user base. --- nse_nsock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */