diff --git a/src/server/actors/repo/status.rs b/src/server/actors/repo/status.rs index e298f26..916c099 100644 --- a/src/server/actors/repo/status.rs +++ b/src/server/actors/repo/status.rs @@ -3,6 +3,7 @@ use gix::trace::warn; use tracing::info; use crate::server::{ + actors::repo::ValidateRepo, config::{self, ForgeType}, forge, }; @@ -32,7 +33,8 @@ pub async fn check_next( addr.do_send(AdvanceMainTo(next)); } Status::Pending => { - // TODO: (#48) reschedule a check after a few seconds + tokio::time::sleep(tokio::time::Duration::from_secs(10)).await; + addr.do_send(ValidateRepo); } Status::Fail => { warn!("Checks have failed");