[tor-commits] [tor/master] Per suggestion, increase the retry frequency for primary guards.

nickm at torproject.org nickm at torproject.org
Fri Dec 16 16:26:19 UTC 2016


commit 20292ec4974b777d430e7962cc38349c5f82b220
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Dec 8 13:10:22 2016 -0500

    Per suggestion, increase the retry frequency for primary guards.
---
 src/or/entrynodes.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index cf85dad..ac5398f 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -1708,8 +1708,8 @@ get_retry_schedule(time_t failing_since, time_t now,
   const struct {
     time_t maximum; int primary_delay; int nonprimary_delay;
   } delays[] = {
-    { SIX_HOURS,    30*60,  1*60*60 },
-    { FOUR_DAYS,  2*60*60,  4*60*60 },
+    { SIX_HOURS,    10*60,  1*60*60 },
+    { FOUR_DAYS,    90*60,  4*60*60 },
     { SEVEN_DAYS, 4*60*60, 18*60*60 },
     { TIME_MAX,   9*60*60, 36*60*60 }
   };





More information about the tor-commits mailing list