mirror of https://github.com/M66B/NetGuard.git
Increase session limit to 1024 x 30%
This commit is contained in:
parent
630eee16a8
commit
c1ebd474a9
|
@ -58,8 +58,8 @@
|
|||
#define TCP_KEEP_TIMEOUT 300 // seconds
|
||||
// https://en.wikipedia.org/wiki/Maximum_segment_lifetime
|
||||
|
||||
#define SESSION_MAX 255 // number
|
||||
#define SESSION_LIMIT 30 // percent
|
||||
#define SESSION_MAX (1024 * SESSION_LIMIT / 100) // number
|
||||
|
||||
#define SEND_BUF_DEFAULT 163840 // bytes
|
||||
|
||||
|
|
Loading…
Reference in New Issue