Skip to content

Commit

Permalink
changed parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu- committed Nov 6, 2017
1 parent a841cc1 commit bea99cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bea99cc

Please sign in to comment.