go-ipfs-config: Merge pull request #4288 from ipfs/feat/connmgr

Implement Connection Manager
This commit is contained in:
Jeromy Johnson 2017-10-16 18:37:11 +01:00 committed by GitHub
commit d214226082

View File

@ -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
}