mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Increase frequency of vg-lite callback to 15 minutes
This commit is contained in:
parent
5949a70b58
commit
30a97d9bb3
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user