Skip to content

Commit

Permalink
Remove lock around JsonRpcRequestProcessor (solana-labs#10417)
Browse files Browse the repository at this point in the history
automerge
  • Loading branch information
garious authored and svenski123 committed Jun 8, 2020
1 parent ce024a0 commit dd74e8f
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 dd74e8f

Please # to comment.