aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-10-19 23:04:56 +0000
committerNick Mathewson <nickm@torproject.org>2006-10-19 23:04:56 +0000
commit126a3f699a8ed6f9c4d2b6c5f4b09f8be159fdd8 (patch)
tree0cadcaca6557237218a54985cfdec527a3a9755a /src/or/or.h
parentbfdb93d8bd7fbc24def7fa1a38c5b9a144eb5a44 (diff)
downloadtor-126a3f699a8ed6f9c4d2b6c5f4b09f8be159fdd8.tar.gz
tor-126a3f699a8ed6f9c4d2b6c5f4b09f8be159fdd8.zip
r9273@Kushana: nickm | 2006-10-19 15:43:39 -0400
Never discard a descriptor for being too old until either it is recommended by no authorities, or until we download a better (more recent and recommended) one for the same router. This will eventually make it possible for servers to publish less often. svn:r8761
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index d617a95086..1ca35c46fb 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -188,8 +188,8 @@
/** How old can a router get before we (as a server) will no longer
* consider it live? In seconds. */
#define ROUTER_MAX_AGE_TO_PUBLISH (60*60*20)
-/** How old do we let a saved descriptor get before removing it? */
-#define OLD_ROUTER_DESC_MAX_AGE (60*60*60)
+/** How old do we let a saved descriptor get before force-removing it? */
+#define OLD_ROUTER_DESC_MAX_AGE (60*60*24*5)
/** How old do we let a networkstatus get before ignoring it? */
#define NETWORKSTATUS_MAX_AGE (60*60*24)