Skip to content

Commit

Permalink
feat(rust): Up relay limits (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger authored Apr 15, 2023
1 parent 42bf8cf commit 950a3ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rust-peer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,12 @@ fn create_swarm(
relay: relay::Behaviour::new(
local_peer_id,
relay::Config {
max_reservations: 400,
max_reservations_per_peer: 10,
max_reservations: usize::MAX,
max_reservations_per_peer: 100,
reservation_rate_limiters: Vec::default(),
circuit_src_rate_limiters: Vec::default(),
max_circuits: usize::MAX,
max_circuits_per_peer: 100,
..Default::default()
},
),
Expand Down

1 comment on commit 950a3ed

@vercel
Copy link

@vercel vercel bot commented on 950a3ed Apr 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.