Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

chore: removing cache_size #472

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/topos-p2p/src/behaviour/peer_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ pub struct PeerInfoBehaviour {
impl PeerInfoBehaviour {
pub(crate) fn new(identify_protocol: &'static str, peer_key: &Keypair) -> PeerInfoBehaviour {
let ident_config = IdentifyConfig::new(identify_protocol.to_string(), peer_key.public())
.with_push_listen_addr_updates(true)
.with_cache_size(0);
.with_push_listen_addr_updates(true);

let identify = Identify::new(ident_config);

Expand Down
Loading