[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Make ROUTERLIST_PRUNING_INTERVAL 1 hr.



commit 411780d563e4d08e12d8aef0bbe8915f48011cca
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
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;
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits