Make retry more aggressive even absent new data (fixes #23 github issue)

This commit is contained in:
Keith Winstein
2012-02-25 12:12:16 -05:00
parent 58b584a2b3
commit a2b293c027
4 changed files with 52 additions and 27 deletions
+2 -2
View File
@@ -301,8 +301,8 @@ int OverlayManager::wait_time( void )
next_expiry = 1000;
}
if ( predictions.active() && ( next_expiry > 10 ) ) {
next_expiry = 10;
if ( predictions.active() && ( next_expiry > 20 ) ) {
next_expiry = 20;
}
return next_expiry;