From 7efe8c9372615d0333d1aa045de5d0c4a171a978 Mon Sep 17 00:00:00 2001 From: michele papalini Date: Fri, 22 Nov 2019 11:24:43 +0100 Subject: [HICN-410] reduce sentinel timer aggressiveness Signed-off-by: michele papalini Change-Id: I538d8266912fea244505e4d2ceccef0dd9a242bc --- libtransport/src/hicn/transport/protocols/rtc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libtransport/src/hicn/transport') diff --git a/libtransport/src/hicn/transport/protocols/rtc.cc b/libtransport/src/hicn/transport/protocols/rtc.cc index 1a3511003..aeee48bac 100644 --- a/libtransport/src/hicn/transport/protocols/rtc.cc +++ b/libtransport/src/hicn/transport/protocols/rtc.cc @@ -505,7 +505,7 @@ void RTCTransportProtocol::scheduleNextInterests() { } void RTCTransportProtocol::sentinelTimer(){ - uint32_t wait = 10; + uint32_t wait = 50; if(pathTable_.find(producerPathLabels_[0]) != pathTable_.end() && pathTable_.find(producerPathLabels_[1]) != pathTable_.end()){ @@ -545,7 +545,7 @@ void RTCTransportProtocol::sentinelTimer(){ uint64_t max_waiting_time = round((pathTable_[producerPathLabels_[1]]->getMinRtt() - pathTable_[producerPathLabels_[0]]->getMinRtt()) + - pathTable_[producerPathLabels_[0]]->getInterArrivalGap()) * 2; + (pathTable_[producerPathLabels_[0]]->getInterArrivalGap() * 10)); if((currentState_ == HICN_RTC_NORMAL_STATE) && (inflightInterestsCount_ >= currentCWin_) && -- cgit 1.2.3-korg