Skip to content

Commit

Permalink
Disable port-reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
ligustah committed Apr 29, 2024
1 parent 7a1ee08 commit ad5666a
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 ad5666a

Please sign in to comment.