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 authored Oct 16, 2017
2 parents 842d0d3 + 810c8e7 commit d214226
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 d214226

Please sign in to comment.