mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
node: Logging improvements & other small things
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user