Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#4288 from ipfs/feat/connmgr
Browse files Browse the repository at this point in the history
Implement Connection Manager
  • Loading branch information
whyrusleeping committed Oct 16, 2017
2 parents 3d6cf40 + dfeb21d commit d663b31
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/swarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit d663b31

Please sign in to comment.