Skip to content

Commit

Permalink
fix/disable-ipfs-circuit-relay: disabled ipfs circuit relay trensport (
Browse files Browse the repository at this point in the history
  • Loading branch information
BEdev24 authored Dec 4, 2024
1 parent c93fb88 commit 8146495
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ipfs-service/src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const libp2pOptions = {
],
},
transports: [
circuitRelayTransport({ discoverRelays: 1 }),
tcp(),
webSockets(),
],
Expand All @@ -80,21 +79,13 @@ const libp2pOptions = {
createDelegatedRoutingV1HttpApiClient('https://delegated-ipfs.dev'),
dht: kadDHT({
clientMode: false,
initialQuerySelfInterval: 1000,
kBucketSize: 20,
protocol: '/ipfs/kad/1.0.0',
maxInboundStreams: 32,
maxOutboundStreams: 64,
validators: { ipns: ipnsValidator },
selectors: { ipns: ipnsSelector },
}),
identify: identify(),
keychain: keychain(),
ping: ping(),
relay: circuitRelayServer({
advertise: true,
hopTimeout: 60000,
}),
upnp: uPnPNAT(),
},
};
Expand Down

0 comments on commit 8146495

Please sign in to comment.