From 810c8e73a41a72220c30f9f82210d18952bdd1b2 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Thu, 14 Sep 2017 13:43:37 -0700 Subject: [PATCH] go-ipfs-config: Integrate connection manager License: MIT Signed-off-by: Jeromy --- config/swarm.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/swarm.go b/config/swarm.go index 25c35d58521..5b128f38aab 100644 --- a/config/swarm.go +++ b/config/swarm.go @@ -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 }