Skip to content

Commit

Permalink
Merge pull request #77 from ourzora/disable-tcp-config
Browse files Browse the repository at this point in the history
Disable port-reuse
  • Loading branch information
ligustah authored Apr 29, 2024
2 parents 9cdf668 + ad5666a commit 4f62f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl SwarmController {
let swarm = libp2p::SwarmBuilder::with_existing_identity(id_keys)
.with_tokio()
.with_tcp(
tcp::Config::default().port_reuse(true).nodelay(true),
tcp::Config::default(),
noise::Config::new,
yamux::Config::default,
)?
Expand Down

0 comments on commit 4f62f91

Please sign in to comment.