mirror of https://github.com/M66B/NetGuard.git
Native increase select timeout to 1 hour
This commit is contained in:
parent
c2681c3046
commit
a8f16d2d29
|
@ -30,7 +30,7 @@
|
||||||
// #define PROFILE_UID 5
|
// #define PROFILE_UID 5
|
||||||
// #define PROFILE_JNI 5
|
// #define PROFILE_JNI 5
|
||||||
|
|
||||||
#define SELECT_TIMEOUT 600 // seconds
|
#define SELECT_TIMEOUT 3600 // seconds
|
||||||
|
|
||||||
#define TUN_MAXMSG 32768 // bytes (device)
|
#define TUN_MAXMSG 32768 // bytes (device)
|
||||||
#define ICMP4_MAXMSG (IP_MAXPACKET - 20 - 8) // bytes (socket)
|
#define ICMP4_MAXMSG (IP_MAXPACKET - 20 - 8) // bytes (socket)
|
||||||
|
|
Loading…
Reference in New Issue