mirror of
https://github.com/uqbar-dao/nectar.git
synced 2025-01-01 21:14:10 +03:00
vfs: remove debug prints on reboot and fix register back to real routers
This commit is contained in:
parent
1e98b9209b
commit
f1e4ebdf77
@ -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![]
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user