aboutsummaryrefslogtreecommitdiffstats
path: root/src/wireguard/constants.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-12-26 23:45:34 +0100
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-12-26 23:45:34 +0100
commit956c3f02d481e724a548fb26df7ba0963a2c1c49 (patch)
treee93a36614b062c5920d63b614eae9a6529c2a239 /src/wireguard/constants.rs
parentMake under_load global for WireGuard device (diff)
downloadwireguard-rs-956c3f02d481e724a548fb26df7ba0963a2c1c49.tar.xz
wireguard-rs-956c3f02d481e724a548fb26df7ba0963a2c1c49.zip
Remove unused under_load code
Diffstat (limited to 'src/wireguard/constants.rs')
-rw-r--r--src/wireguard/constants.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireguard/constants.rs b/src/wireguard/constants.rs
index 4d0ae54..4d89d46 100644
--- a/src/wireguard/constants.rs
+++ b/src/wireguard/constants.rs
@@ -45,7 +45,7 @@ pub const TIMERS_TICK: Duration = Duration::from_millis(100);
pub const TIMERS_SLOTS: usize = (TIMER_MAX_DURATION.as_micros() / TIMERS_TICK.as_micros()) as usize;
// Performance:
-// Initial capacity of timer-wheel (grows to accommodate more timers)
+// Initial capacity of timer-wheel (grows to accommodate more timers).
pub const TIMERS_CAPACITY: usize = 16;
/* A long duration (compared to the WireGuard time constants),