mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
fix: Revert default relay settings, keep updated ttl
This commit is contained in:
parent
ed12f2b2cf
commit
adb8d77aa2
@ -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)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user