]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make ROUTERLIST_PRUNING_INTERVAL 1 hr.
authorrl1987 <rl1987@sdf.lonestar.org>
Sat, 17 Nov 2018 08:19:25 +0000 (10:19 +0200)
committerrl1987 <rl1987@sdf.lonestar.org>
Sat, 17 Nov 2018 08:19:25 +0000 (10:19 +0200)
src/core/mainloop/mainloop.c

index be19136130659683060981f069856ca5086283a2..0b9d4e08892257ab855c772787434416766e61c0 100644 (file)
@@ -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;