From: rl1987 Date: Sat, 17 Nov 2018 08:19:25 +0000 (+0200) Subject: Make ROUTERLIST_PRUNING_INTERVAL 1 hr. X-Git-Tag: tor-0.4.0.1-alpha~117^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=411780d563e4d08e12d8aef0bbe8915f48011cca;p=thirdparty%2Ftor.git Make ROUTERLIST_PRUNING_INTERVAL 1 hr. --- diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c index be19136130..0b9d4e0889 100644 --- a/src/core/mainloop/mainloop.c +++ b/src/core/mainloop/mainloop.c @@ -2231,7 +2231,7 @@ retry_dns_callback(time_t now, const or_options_t *options) static int prune_old_routers_callback(time_t now, const or_options_t *options) { -#define ROUTERLIST_PRUNING_INTERVAL (60) // 1 minute. +#define ROUTERLIST_PRUNING_INTERVAL (60*60) // 1 hour. (void)now; (void)options;