fixed a issue of last commit; increase udp conv timeout to 180s

This commit is contained in:
wangyu- 2017-11-17 01:39:00 -06:00
parent d25e1ea9df
commit ee9dab37fa
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ const u32_t conv_clear_interval=200;
const u32_t timer_interval=400; const u32_t timer_interval=400;
const int conv_clear_ratio=40; const int conv_clear_ratio=40;
const int conv_clear_min=5; const int conv_clear_min=5;
const u32_t conv_timeout=20000; const u32_t conv_timeout=180000;
const int max_conv_num=10000; const int max_conv_num=10000;
/* /*

View File

@ -283,8 +283,8 @@ struct conn_manager_t //TODO change map to unordered map
} }
cnt++; cnt++;
} }
return 0;
clear_it=it; clear_it=it;
return 0;
} }
}conn_manager; }conn_manager;