|
@@ -3796,7 +3796,12 @@ next_random_exponential_delay(int delay, int max_delay)
|
|
|
|
|
|
|
|
|
int max_increment;
|
|
|
- const int multiplier = 3;
|
|
|
+ int multiplier = 3;
|
|
|
+ if (get_options()->TestingTorNetwork) {
|
|
|
+
|
|
|
+ * so that bootstrap is more reliable. */
|
|
|
+ multiplier = 2;
|
|
|
+ }
|
|
|
|
|
|
if (delay && delay < (INT_MAX-1) / multiplier) {
|
|
|
max_increment = delay * multiplier;
|