chiark / gitweb /
make success_report_interval configuraable
[hippotat.git] / src / config.rs
index dd78d75733dbdcfddebf33978e63cc39f7ab219c..a36ec584f987864a27bb2803ca553dce9d574dd8 100644 (file)
@@ -38,6 +38,7 @@ pub struct InstanceConfig {
   #[client]  pub max_requests_outstanding:     u32,
   #[client]  pub max_batch_up:                 u32,
   #[client]  pub http_retry:                   Duration,
+  #[client]  pub success_report_interval:      Duration,
   #[client]  pub url:                          Uri,
   #[client]  pub vroutes:                      Vec<IpNet>,
 
@@ -60,6 +61,7 @@ vroutes = ''
 ifname_client = hippo%d
 ifname_server = shippo%d
 max_clock_skew = 300
+success_report_interval = 3600
 
 ipif = userv root ipif %{local},%{peer},%{mtu},slip,%{ifname} '%{rnets}'