mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
go-ipfs-config: Merge pull request #4288 from ipfs/feat/connmgr
Implement Connection Manager
This commit is contained in:
commit
d214226082
@ -6,4 +6,14 @@ type SwarmConfig struct {
|
||||
DisableNatPortMap bool
|
||||
DisableRelay bool
|
||||
EnableRelayHop bool
|
||||
|
||||
ConnMgr ConnMgr
|
||||
}
|
||||
|
||||
// ConnMgr defines configuration options for the libp2p connection manager
|
||||
type ConnMgr struct {
|
||||
Type string
|
||||
LowWater int
|
||||
HighWater int
|
||||
GracePeriod string
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user