Reduce Anteanna forwarding loop frequency
This reduces the run frequency of the antenna forwader from once every
10 seconds to once every 20 seconds. This should halve the load on the
server without dramatically increasing user wait time since the frontend
only refreshes every 30 seconds.
@@ -38,8 +38,8 @@ lazy_static! {
pub static ref KI: Box<dyn KernelInterface> = Box::new(LinuxCommandRunner {});
}
-const SLEEP_TIME: Duration = Duration::from_secs(10);
-/// The timeout time for pinging a local antenna, 25ms is very
+const SLEEP_TIME: Duration = Duration::from_secs(20);
+/// The timeout time for pinging a local antenna, 100ms is very
/// very generous here as they should all respond really within 5ms
const PING_TIMEOUT: Duration = Duration::from_millis(100);
/// the amount of time with no activity before we close a forwarding session
