From d74e3f3b13638a7b6e15bdec3a4cb8d1ba6de8d2 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Thu, 27 Sep 2018 10:13:17 +0800 Subject: [PATCH] change DEFAULT_CONNECT_TIMEOUT from 30 to 10 --- src/common_define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common_define.h b/src/common_define.h index cf11583..4592aa4 100644 --- a/src/common_define.h +++ b/src/common_define.h @@ -84,7 +84,7 @@ extern int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int kind); #define MAX_PATH_SIZE 256 #define LOG_FILE_DIR "logs" #define CONF_FILE_DIR "conf" -#define DEFAULT_CONNECT_TIMEOUT 30 +#define DEFAULT_CONNECT_TIMEOUT 10 #define DEFAULT_NETWORK_TIMEOUT 30 #define DEFAULT_MAX_CONNECTONS 1024 #define DEFAULT_WORK_THREADS 4