Widen prediction interval

This commit is contained in:
Keith Winstein
2011-10-13 15:27:48 -04:00
parent aab2ac65be
commit dfeaf5eca4
+1 -1
View File
@@ -381,7 +381,7 @@ int OverlayManager::wait_time( void )
int PredictionEngine::prediction_len( void ) int PredictionEngine::prediction_len( void )
{ {
uint64_t RTO = lrint( ceil( SRTT + 4 * RTTVAR ) ); uint64_t RTO = lrint( ceil( 1.25 * SRTT + 8 * RTTVAR ) );
if ( RTO < 20 ) { if ( RTO < 20 ) {
RTO = 20; RTO = 20;
} else if ( RTO > 2000 ) { } else if ( RTO > 2000 ) {