We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45deda commit 33edc5fCopy full SHA for 33edc5f
boringtun/src/noise/timers.rs
@@ -433,7 +433,7 @@ impl Tunn {
433
434
/// Returns an [`Instant`] when [`Tunn::update_timers_at`] should be called again.
435
///
436
- /// If this returns `None`, you may call it at your usual desired precision (usually once a second is enough).
+ /// Calling it earlier than the given [`Instant`] is safe but unlikely to have any effect.
437
pub fn next_timer_update(&self) -> Option<Instant> {
438
// Mimic the `update_timers_at` function: If we have a handshake scheduled, other timers don't matter.
439
if let Some(scheduled_handshake) = self.timers.send_handshake_at {
0 commit comments