feat(server): add marker info logs for advance main and next
This commit is contained in:
parent
0b85ac3f8d
commit
5c4b745c00
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
use actix::prelude::*;
|
use actix::prelude::*;
|
||||||
|
|
||||||
use kxio::network;
|
use kxio::network;
|
||||||
use tracing::{error, warn};
|
use tracing::{error, info, warn};
|
||||||
|
|
||||||
use crate::server::{config, forge};
|
use crate::server::{config, forge};
|
||||||
|
|
||||||
|
@ -79,6 +79,7 @@ pub async fn advance_next(
|
||||||
_net: network::Network,
|
_net: network::Network,
|
||||||
) {
|
) {
|
||||||
// TODO: (#14) advance next one commit towards dev
|
// TODO: (#14) advance next one commit towards dev
|
||||||
|
info!("Advance Next");
|
||||||
addr.do_send(StartRepo);
|
addr.do_send(StartRepo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,5 +92,6 @@ pub async fn advance_main(
|
||||||
_net: network::Network,
|
_net: network::Network,
|
||||||
) {
|
) {
|
||||||
// TODO: (#19) advance main to next
|
// TODO: (#19) advance main to next
|
||||||
|
info!("Advance Main");
|
||||||
addr.do_send(StartRepo);
|
addr.do_send(StartRepo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue