vfs: remove debug prints on reboot and fix register back to real routers

This commit is contained in:
dr-frmr 2023-10-13 12:30:46 -04:00
parent 1e98b9209b
commit f1e4ebdf77
No known key found for this signature in database
2 changed files with 3 additions and 8 deletions

View File

@ -112,10 +112,9 @@ async fn handle_post(
},
allowed_routers: if ip == "localhost" || !info.direct {
vec![
"testnode104.uq".into(),
// "uqbar-router-1.uq".into(), // "0x8d9e54427c50660c6d4802f63edca86a9ca5fd6a78070c4635950e9d149ed441".into(),
// "uqbar-router-2.uq".into(), // "0x06d331ed65843ecf0860c73292005d8103af20820546b2f8f9007d01f60595b1".into(),
// "uqbar-router-3.uq".into(), // "0xe6ab611eb62e8aee0460295667f8179cda4315982717db4b0b3da6022deecac1".into(),
"uqbar-router-1.uq".into(), // "0x8d9e54427c50660c6d4802f63edca86a9ca5fd6a78070c4635950e9d149ed441".into(),
"uqbar-router-2.uq".into(), // "0x06d331ed65843ecf0860c73292005d8103af20820546b2f8f9007d01f60595b1".into(),
"uqbar-router-3.uq".into(), // "0xe6ab611eb62e8aee0460295667f8179cda4315982717db4b0b3da6022deecac1".into(),
]
} else {
vec![]

View File

@ -275,10 +275,6 @@ pub async fn vfs(
&mut drive_to_vfs,
)
.await;
println!("vfs: state after reboot:\r");
for (drive, vfs) in drive_to_vfs.iter() {
println!("{}: {:?}\r", drive, vfs);
}
for vfs_message in vfs_messages {
send_to_loop.send(vfs_message).await.unwrap();