mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-30 05:11:14 +00:00
tune udp conn pool size
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
||||
#define MAX_CONF_SIZE 128 * 1024
|
||||
#define MAX_DNS_NUM 4
|
||||
#define MAX_CONNECT_TIMEOUT 10
|
||||
#define MIN_UDP_TIMEOUT 60
|
||||
#define MIN_UDP_TIMEOUT 10
|
||||
|
||||
typedef struct {
|
||||
char *host;
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@
|
||||
#include "udprelay.h"
|
||||
|
||||
#ifdef UDPRELAY_REMOTE
|
||||
#define MAX_UDP_CONN_NUM 1024
|
||||
#define MAX_UDP_CONN_NUM 512
|
||||
#else
|
||||
#define MAX_UDP_CONN_NUM 256
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user