fix: Revert default relay settings, keep updated ttl

This commit is contained in:
Joaquin Prada 2024-11-25 19:12:35 -03:00
parent ed12f2b2cf
commit adb8d77aa2

View File

@ -29,7 +29,12 @@ const server = await createLibp2p({
streamMuxers: [yamux()], streamMuxers: [yamux()],
services: { services: {
identify: identify(), identify: identify(),
relay: circuitRelayServer() relay: circuitRelayServer({
reservations: {
maxReservations: 5000,
defaultDataLimit: BigInt(1024 * 1024 * 1024)
}
})
} }
}) })