mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-07-10 14:32:29 +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()],
|
||||
services: {
|
||||
identify: identify(),
|
||||
relay: circuitRelayServer({
|
||||
reservations: {
|
||||
maxReservations: 5000,
|
||||
reservationTtl: 1000,
|
||||
defaultDataLimit: BigInt(1024 * 1024 * 1024)
|
||||
}
|
||||
})
|
||||
relay: circuitRelayServer()
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user