summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-08 13:10:22 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-16 11:06:22 -0500
commit20292ec4974b777d430e7962cc38349c5f82b220 (patch)
treed4b80fe0c97f2fadbd8d51106d735ca84d9d58ca /src/or
parentfc7751a989681fbf0f94387c070cced261a83c9c (diff)
downloadtor-20292ec4974b777d430e7962cc38349c5f82b220.tar.gz
tor-20292ec4974b777d430e7962cc38349c5f82b220.zip
Per suggestion, increase the retry frequency for primary guards.
Diffstat (limited to 'src/or')
-rw-r--r--src/or/entrynodes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index cf85dad309..ac5398f5f8 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 }
};