[tor-commits] [tor/main] Increase frequency of vg-lite callback to 15 minutes

asn at torproject.org asn at torproject.org
Wed Jul 28 09:04:17 UTC 2021


commit 30a97d9bb3c41e8e526afcb2ac4e1a073944cd66
Author: George Kadianakis <desnacked at riseup.net>
Date:   Tue Jul 20 13:03:32 2021 +0300

    Increase frequency of vg-lite callback to 15 minutes
---
 src/core/mainloop/mainloop.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c
index 68e8ee8f20..37b53db92a 100644
--- a/src/core/mainloop/mainloop.c
+++ b/src/core/mainloop/mainloop.c
@@ -1668,14 +1668,14 @@ mainloop_schedule_shutdown(int delay_sec)
 }
 
 /**
- * Update vanguards-lite layer2 nodes, once per hour
+ * Update vanguards-lite layer2 nodes, once every 15 minutes
  */
 static int
 manage_vglite_callback(time_t now, const or_options_t *options)
 {
  (void)now;
  (void)options;
-#define VANGUARDS_LITE_INTERVAL (60*60)
+#define VANGUARDS_LITE_INTERVAL (15*60)
 
   maintain_layer2_guards();
 





More information about the tor-commits mailing list