Skip to content

Commit

Permalink
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 8cbc568 + feb2871 commit 4e0e4ca
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 4e0e4ca

Please sign in to comment.