node: Remove useless caching of node announcement
When initializing the radicle-node process, see
radicle-node/src/runtime.rs, an attempt is made to read from a node
announcement file.
This file is never written, therefore all of these reads fail.
Even though this caching mechanism might make sense or might have made sense at some point, it is dead code now, and therefore removed.
Also, the fact that the file name was defined in the radicle crate is
ugly.
2 files changed
+5
-45
efa7efac
→
1cd3ad07
modified crates/radicle-node/src/runtime.rs
@@ -30,10 +30,9 @@ use radicle::{cob, git, storage, Storage};
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -135,7 +134,6 @@ impl Runtime {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -166,41 +164,9 @@ impl Runtime {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -74,12 +74,6 @@ pub const NODE_DB_FILE: &str = "node.db";
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|