use shorter minimum key lifetime until 008 is dead

svn:r3035
This commit is contained in:
Nick Mathewson 2004-11-30 06:44:07 +00:00
parent 38e0dc94e1
commit bec7a1c6e8

View File

@ -1286,7 +1286,8 @@ options_validate(or_options_t *options)
#define MIN_REND_POST_PERIOD 300
#define MIN_STATUS_FETCH_PERIOD 60
#define MAX_DIR_PERIOD (MIN_ONION_KEY_LIFETIME/2)
/* After 0.0.8 is dead, change this to MIN_ONION_KEY_LIFETIME. */
#define MAX_DIR_PERIOD (OLD_MIN_ONION_KEY_LIFETIME/2)
#define MAX_CACHE_DIR_FETCH_PERIOD 3600
#define MAX_CACHE_STATUS_FETCH_PERIOD 900