diff options
author | michele papalini <micpapal@cisco.com> | 2019-11-22 11:24:43 +0100 |
---|---|---|
committer | michele papalini <micpapal@cisco.com> | 2019-11-22 11:24:43 +0100 |
commit | 7efe8c9372615d0333d1aa045de5d0c4a171a978 (patch) | |
tree | 39002a7960e186f405e41d6ef05e2ec7c977d0d4 /libtransport | |
parent | 848f339ec9419bd9d1bd90414eeb9320c4067b08 (diff) |
[HICN-410] reduce sentinel timer aggressiveness
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I538d8266912fea244505e4d2ceccef0dd9a242bc
Diffstat (limited to 'libtransport')
-rw-r--r-- | libtransport/src/hicn/transport/protocols/rtc.cc | 4 |
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 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_) && |