Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
feat: reduce logspam about wait duration for report writing
Lars Wirzenius committed 1 year ago
commit 6bd555f6d2be55e6a2187f6222168d1d0fd78818
parent e29dd23f75d07d17e853893f2f23833c69280a94
1 file changed +4 -4
modified src/pages.rs
@@ -498,15 +498,15 @@ impl StatusPage {
            info!("not writing HTML report pages as output directory has not been set");
        }
        self.node_alias = node_alias.into();
+
        info!(
+
            "wait about {} seconds to update HTML report pages again",
+
            UPDATE_INTERVAL.as_secs()
+
        );
        spawn(move || loop {
            self.update_and_write(&db)?;
            if once {
                return Ok(());
            }
-
            info!(
-
                "wait about {} seconds to update HTML report pages again",
-
                UPDATE_INTERVAL.as_secs()
-
            );
            sleep(UPDATE_INTERVAL);
        })
    }