Skip to content

Commit

Permalink
go-ipfs-config: Integrate connection manager
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
  • Loading branch information
whyrusleeping committed Oct 16, 2017
1 parent 9e4fa0d commit 810c8e7
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 810c8e7

Please sign in to comment.