node: Logging improvements & other small things

This commit is contained in:
cloudhead
2024-03-25 12:05:05 +01:00
parent dbf47fe4e9
commit e695d06bbb
5 changed files with 24 additions and 8 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ pub struct SyncSettings {
}
impl SyncSettings {
/// Create a [`RepoSync`] from a list of seeds.
/// Create a [`SyncSettings`] from a list of seeds.
pub fn from_seeds(seeds: impl IntoIterator<Item = NodeId>) -> Self {
let seeds = BTreeSet::from_iter(seeds);
Self {
@@ -37,7 +37,7 @@ impl SyncSettings {
}
}
/// Create a [`RepoSync`] from a replica count.
/// Create a [`SyncSettings`] from a replica count.
pub fn from_replicas(replicas: usize) -> Self {
Self {
replicas,