From 08377c21e2c7b08183ee699fbcb10a7c41ea006e Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 23 Apr 2014 07:48:52 -0400 Subject: [PATCH] Lower maxKnownInventory from 20000 to 1000. ok @davecgh --- peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.go b/peer.go index 5a5e2e16..29dc0ae3 100644 --- a/peer.go +++ b/peer.go @@ -34,7 +34,7 @@ const ( // maxKnownInventory is the maximum number of items to keep in the known // inventory cache. - maxKnownInventory = 20000 + maxKnownInventory = 1000 // negotiateTimeoutSeconds is the number of seconds of inactivity before // we timeout a peer that hasn't completed the initial version