mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
fix(config): skip nulls in ResourceMgr
This commit is contained in:
parent
dfa631e841
commit
f29640e0c8
@ -144,8 +144,8 @@ type ResourceMgr struct {
|
||||
Enabled Flag `json:",omitempty"`
|
||||
Limits *rcmgr.LimitConfig `json:",omitempty"`
|
||||
|
||||
MaxMemory OptionalString `json:",omitempty"`
|
||||
MaxFileDescriptors OptionalInteger `json:",omitempty"`
|
||||
MaxMemory *OptionalString `json:",omitempty"`
|
||||
MaxFileDescriptors *OptionalInteger `json:",omitempty"`
|
||||
|
||||
// A list of multiaddrs that can bypass normal system limits (but are still
|
||||
// limited by the allowlist scope). Convenience config around
|
||||
|
||||
Loading…
Reference in New Issue
Block a user