From bea99ccc98aa2a6f93e1097fab02c27bea225ea5 Mon Sep 17 00:00:00 2001 From: wangyu- Date: Mon, 6 Nov 2017 03:21:54 -0600 Subject: [PATCH] changed parameter --- common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common.h b/common.h index f53a035..c09909f 100644 --- a/common.h +++ b/common.h @@ -71,12 +71,12 @@ const u32_t conn_timeout_udp=180000; const u32_t conn_timeout_tcp=360000; const int max_conn_num=20000; -const int conn_clear_ratio=2; -const int conn_clear_min=5; +const int conn_clear_ratio=30; +const int conn_clear_min=1; const u32_t conn_clear_interval=1000; -const u32_t timer_interval=500;//this should be smaller than heartbeat_interval and retry interval; +const u32_t timer_interval=400;//this should be smaller than heartbeat_interval and retry interval; extern int about_to_exit;