[tor-commits] [tor/master] Make ROUTERLIST_PRUNING_INTERVAL 1 hr.
nickm at torproject.org
nickm at torproject.org
Mon Nov 26 22:19:37 UTC 2018
commit 411780d563e4d08e12d8aef0bbe8915f48011cca
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date: Sat Nov 17 10:19:25 2018 +0200
Make ROUTERLIST_PRUNING_INTERVAL 1 hr.
---
src/core/mainloop/mainloop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index be1913613..0b9d4e088 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;
More information about the tor-commits
mailing list