浏览代码

changed client_conn_timeout

wangyu- 8 年之前
父节点
当前提交
dcde8828c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc.h

+ 1 - 1
misc.h

@@ -43,7 +43,7 @@ const u32_t timer_interval=400;//ms. this should be smaller than heartbeat_inter
 const uint32_t conv_timeout=120000; //ms. 120 second
 //const u32_t conv_timeout=30000; //for test
 
-const u32_t client_conn_timeout=15000;//ms.
+const u32_t client_conn_timeout=10000;//ms.
 const u32_t client_conn_uplink_timeout=client_conn_timeout+2000;//ms
 
 const uint32_t server_conn_timeout=conv_timeout+60000;//ms. this should be 60s+ longer than conv_timeout,so that conv_manager can destruct convs gradually,to avoid latency glicth