Skip to content

Commit

Permalink
docs(config): Swarm.ResourceMgr.Allowlist
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Aug 16, 2022
1 parent 5c858d5 commit 5ca74c7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ config file at runtime.
- [`Swarm.ResourceMgr`](#swarmresourcemgr)
- [`Swarm.ResourceMgr.Enabled`](#swarmresourcemgrenabled)
- [`Swarm.ResourceMgr.Limits`](#swarmresourcemgrlimits)
- [`Swarm.ResourceMgr.Allowlist`](#swarmresourcemgrallowlist)
- [`Swarm.Transports`](#swarmtransports)
- [`Swarm.Transports.Network`](#swarmtransportsnetwork)
- [`Swarm.Transports.Network.TCP`](#swarmtransportsnetworktcp)
Expand Down Expand Up @@ -1765,6 +1766,14 @@ Default: `{}` (use the safe implicit defaults)

Type: `object[string->object]`

#### `Swarm.ResourceMgr.Allowlist`

A list of multiaddrs that can bypass normal system limits (but are still limited by the allowlist scope).
Convenience config around [go-libp2p-resource-manager#Allowlist.Add](https://pkg.go.dev/github.com/libp2p/go-libp2p-resource-manager#Allowlist.Add).

Default: `[]`

Type: `array[string]` (multiaddrs)

### `Swarm.Transports`

Expand Down

0 comments on commit 5ca74c7

Please sign in to comment.