Increase frequency of vg-lite callback to 15 minutes

This commit is contained in:
George Kadianakis 2021-07-20 13:03:32 +03:00
parent 5949a70b58
commit 30a97d9bb3

View File

@ -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 static int
manage_vglite_callback(time_t now, const or_options_t *options) manage_vglite_callback(time_t now, const or_options_t *options)
{ {
(void)now; (void)now;
(void)options; (void)options;
#define VANGUARDS_LITE_INTERVAL (60*60) #define VANGUARDS_LITE_INTERVAL (15*60)
maintain_layer2_guards(); maintain_layer2_guards();