mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-07-10 22:42:30 +00:00
fix: Update relay example to use default reservation settings
This commit is contained in:
parent
c3be1d2fac
commit
ed12f2b2cf
@ -29,13 +29,7 @@ const server = await createLibp2p({
|
|||||||
streamMuxers: [yamux()],
|
streamMuxers: [yamux()],
|
||||||
services: {
|
services: {
|
||||||
identify: identify(),
|
identify: identify(),
|
||||||
relay: circuitRelayServer({
|
relay: circuitRelayServer()
|
||||||
reservations: {
|
|
||||||
maxReservations: 5000,
|
|
||||||
reservationTtl: 1000,
|
|
||||||
defaultDataLimit: BigInt(1024 * 1024 * 1024)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user