kubo/core
Gus Eggert 74aff245d2
feat: persist limits to Swarm.ResourceMgr.Limits (#8901)
* feat: persist limit changes to config

This changes the "ipfs swarm limit" command so that when limit changes
are applied via the command line, they are persisted to the repo
config, so that they remain in effect when the daemon restarts.

Any existing limit.json can be dropped into the IPFS config easily
using something like:

cat ~/.ipfs/config | jq ".Swarm.ResourceMgr.Limits = $(cat limit.json)" | sponge ~/.ipfs/config

This also upgrades to Resource Manager v0.3.0, which exports the config
schema so that we don't have to maintain our own copy of it.

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-04-28 15:27:16 +02:00
..
bootstrap fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
commands feat: persist limits to Swarm.ResourceMgr.Limits (#8901) 2022-04-28 15:27:16 +02:00
coreapi fix(cmds): CIDv1 and correct multicodecs in 'block put' and 'cid codecs' (#8568) 2022-04-21 18:19:40 +02:00
coredag gx: unrewrite 2019-03-05 18:33:56 +01:00
corehttp feat(gw): improved If-None-Match support (#8891) 2022-04-19 20:57:11 +02:00
corerepo feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with contexts (#8563) 2021-11-29 19:58:05 +01:00
coreunix feat: add basic gateway tracing (#8595) 2022-04-04 19:24:05 +02:00
mock feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680) 2022-04-07 21:06:35 -04:00
node feat: persist limits to Swarm.ResourceMgr.Limits (#8901) 2022-04-28 15:27:16 +02:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
builder.go fix(core/node): unwrap fx error in node construction 2022-03-16 19:32:31 -03:00
core_test.go fix: rewrite dependencies over the go-ipfs-config package 2022-03-04 09:45:16 +01:00
core.go feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680) 2022-04-07 21:06:35 -04:00