feat(server): add marker info logs for advance main and next

This commit is contained in:
Paul Campbell 2024-04-10 11:46:51 +01:00
parent 0b85ac3f8d
commit 5c4b745c00

View file

@ -1,7 +1,7 @@
use actix::prelude::*;
use kxio::network;
use tracing::{error, warn};
use tracing::{error, info, warn};
use crate::server::{config, forge};
@ -79,6 +79,7 @@ pub async fn advance_next(
_net: network::Network,
) {
// TODO: (#14) advance next one commit towards dev
info!("Advance Next");
addr.do_send(StartRepo);
}
@ -91,5 +92,6 @@ pub async fn advance_main(
_net: network::Network,
) {
// TODO: (#19) advance main to next
info!("Advance Main");
addr.do_send(StartRepo);
}