Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
refactor(src/notif.fs): fix typo in constant name
Lars Wirzenius committed 17 days ago
commit 071e3e7b9519e2b8d859ed893edb555914eae2aa
parent bbc4e42
1 file changed +2 -2
modified src/notif.rs
@@ -9,7 +9,7 @@ use std::{
const EVENT_RECV_TIMEOUT: Duration = Duration::from_secs(1);

// Maximum interval between update HTML report pages.
-
const UPDATE_IMTERVAL: Duration = Duration::from_secs(1);
+
const UPDATE_INTERVAL: Duration = Duration::from_secs(1);

/// Channel endpoint for sending notifications.
#[derive(Clone)]
@@ -65,7 +65,7 @@ impl NotificationChannel {

    /// Construct a channel for notifying about new CI runs.
    pub fn new_run() -> Self {
-
        Self::new(UPDATE_IMTERVAL)
+
        Self::new(UPDATE_INTERVAL)
    }

    fn new(max_wait: Duration) -> Self {