2 Commits

Author SHA1 Message Date
wangyu-
ee9dab37fa fixed a issue of last commit; increase udp conv timeout to 180s 2017-11-17 01:39:00 -06:00
wangyu-
d25e1ea9df clear_it=it 2017-11-06 03:36:42 -06:00
2 changed files with 2 additions and 1 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,6 +283,7 @@ struct conn_manager_t //TODO change map to unordered map
} }
cnt++; cnt++;
} }
clear_it=it;
return 0; return 0;
} }
}conn_manager; }conn_manager;