Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
go-ipfs
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
ipfs
go-ipfs
Commits
88d88158
Commit
88d88158
authored
Jun 12, 2022
by
Marcin Rataj
Committed by
Adin Schmahmann
Jun 16, 2022
Browse files
Options
Downloads
Patches
Plain Diff
docs: mark Swarm.ResourceMgr as experimental
parent
c4522199
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/config.md
+9
-1
9 additions, 1 deletion
docs/config.md
with
9 additions
and
1 deletion
docs/config.md
+
9
−
1
View file @
88d88158
...
...
@@ -1630,10 +1630,16 @@ Type: `duration`
### `Swarm.ResourceMgr`
**EXPERIMENTAL: `Swarm.ResourceMgr` configuration will change in future release**
The
[
libp2p Network Resource Manager
](
https://github.com/libp2p/go-libp2p-resource-manager#readme
)
allows setting limits per a scope,
and tracking recource usage over time.
#### `Swarm.ResourceMgr.Enabled`
**EXPERIMENTAL: `Swarm.ResourceMgr` is in active development, enable it only if you want to provide maintainers with feedback**
Enables the libp2p Network Resource Manager and auguments the default limits
using user-defined ones in
`Swarm.ResourceMgr.Limits`
(if present).
...
...
@@ -1643,12 +1649,14 @@ Type: `flag`
#### `Swarm.ResourceMgr.Limits`
**EXPERIMENTAL: `Swarm.ResourceMgr.Limits` configuration will change in future release, exposed here only for convenience**
Map of resource limits
[
per scope
](
https://github.com/libp2p/go-libp2p-resource-manager#resource-scopes
)
.
The map supports fields from
[
`BasicLimiterConfig`
](
https://github.com/libp2p/go-libp2p-resource-manager/blob/v0.3.0/limit_config.go#L165-L185
)
struct from
[
go-libp2p-resource-manager
](
https://github.com/libp2p/go-libp2p-resource-manager#readme
)
.
Example:
**
Example:
(format may change in future release)**
```
json
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment