mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
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.
This commit is contained in:
parent
ba4e924634
commit
04685b77a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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 <Thread, Garbage Value> pairs.
|
||||
* The table contains threads waiting to make a socket connection.
|
||||
*/
|
||||
#define MAX_PARALLELISM 40
|
||||
#define MAX_PARALLELISM 20
|
||||
#define THREAD_SOCKETS 1 /* <Thread, Table of Sockets (keys)> */
|
||||
#define CONNECT_WAITING 2 /* Threads waiting to lock */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue