We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cf9973 commit 4252b54Copy full SHA for 4252b54
packages/frontend/src/lib/libp2p.ts
@@ -43,10 +43,6 @@ export async function startLibp2p() {
43
}), webRTCDirect(), circuitRelayTransport({
44
discoverRelays: 10,
45
}),],
46
- relay: circuitRelayServer({
47
- maxInboundHopStreams: 100,
48
- maxOutboundHopStreams: 100,
49
- }),
50
connectionEncryption: [noise()],
51
connectionManager: {
52
maxConnections: 200,
rust-peer/src/main.rs
@@ -288,9 +288,8 @@ fn create_swarm(
288
relay: relay::Behaviour::new(
289
local_peer_id,
290
relay::Config {
291
- max_reservations: 200,
+ max_reservations: 400,
292
max_reservations_per_peer: 10,
293
- reservation_duration: Duration::from_secs(60),
294
..Default::default()
295
},
296
),
0 commit comments