summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-09-28 23:27:41 +0000
committerRoger Dingledine <arma@torproject.org>2004-09-28 23:27:41 +0000
commita31ba30ae6665ebb3153d1743685e97df3f9c5a5 (patch)
treeeadbf6f8005102692298fe769be1c7417ccb4aa6 /src/or/or.h
parent11384b6d925e9629d373213495eb8d02edf2e678 (diff)
downloadtor-a31ba30ae6665ebb3153d1743685e97df3f9c5a5.tar.gz
tor-a31ba30ae6665ebb3153d1743685e97df3f9c5a5.zip
if our local cached directory is new enough, go ahead and
start building circuits while we're fetching a new one svn:r2394
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 23414425dc..eba01b8e61 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -136,7 +136,8 @@
#endif
/** How often do we rotate onion keys? */
-#define MIN_ONION_KEY_LIFETIME (12*60*60)
+#define OLD_MIN_ONION_KEY_LIFETIME (12*60*60) /* twice a day */
+#define MIN_ONION_KEY_LIFETIME (7*24*60*60) /* once a week */
/** How often do we rotate TLS contexts? */
#define MAX_SSL_KEY_LIFETIME (120*60)