From 30a97d9bb3c41e8e526afcb2ac4e1a073944cd66 Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Tue, 20 Jul 2021 13:03:32 +0300 Subject: [PATCH] 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();