aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-12-04 10:59:44 +0000
committerGerrit Code Review <gerrit@fd.io>2019-12-04 10:59:44 +0000
commit92f586a45a87bbd802f53ec0cdd69a920265cbaa (patch)
tree18eaef78a3b67f2f3a32abba46a18e361e1f6e46 /libtransport/src/hicn/transport
parentda298bde46abb855cbdf7818bb34a0b5339060cc (diff)
parent5ae9928360a0897ce6cfdb3979c73f1e391f8cde (diff)
Merge "[HICN-433] fix and tune parameters in rtc transport"
Diffstat (limited to 'libtransport/src/hicn/transport')
-rw-r--r--libtransport/src/hicn/transport/protocols/rtc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/protocols/rtc.cc b/libtransport/src/hicn/transport/protocols/rtc.cc
index 6fbf1b018..fb09373b1 100644
--- a/libtransport/src/hicn/transport/protocols/rtc.cc
+++ b/libtransport/src/hicn/transport/protocols/rtc.cc
@@ -300,7 +300,7 @@ void RTCTransportProtocol::updateStats(uint32_t round_duration) {
updateCCState();
updateWindow();
- if(queuingDelay_ > 100.0){
+ if(queuingDelay_ > 25.0){
//this indicates that the client will go soon out of synch,
//switch to synch mode
if (currentState_ == HICN_RTC_NORMAL_STATE) {
@@ -563,7 +563,7 @@ void RTCTransportProtocol::sentinelTimer(){
if((currentState_ == HICN_RTC_NORMAL_STATE) &&
(inflightInterestsCount_ >= currentCWin_) &&
((now - lastEvent_) > max_waiting_time) &&
- (lossRate_ > 10.0)){
+ (lossRate_ >= 0.05)){
uint64_t RTT = pathTable_[producerPathLabels_[1]]->getMinRtt();