Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Remove lock around JsonRpcRequestProcessor (#10417)
Browse files Browse the repository at this point in the history
automerge
  • Loading branch information
garious authored Jun 8, 2020
1 parent 0645a0c commit af8c21c
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 216 deletions.
6 changes: 6 additions & 0 deletions core/src/cluster_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,12 @@ pub struct ClusterInfo {
start_time: u64,
}

impl Default for ClusterInfo {
fn default() -> Self {
Self::new_with_invalid_keypair(ContactInfo::default())
}
}

#[derive(Default, Clone)]
pub struct Locality {
/// The bounds of the neighborhood represented by this locality
Expand Down
Loading

0 comments on commit af8c21c

Please sign in to comment.