Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
refactor(src/notif.fs): fix typo in constant name
Lars Wirzenius committed 1 month ago
commit 071e3e7b9519e2b8d859ed893edb555914eae2aa
parent bbc4e4239bab91c8b97e1a63738d19aedf3c5e63
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 {