Lower maxKnownInventory from 20000 to 1000.
ok @davecgh
This commit is contained in:
parent
8a322e4792
commit
08377c21e2
1 changed files with 1 additions and 1 deletions
2
peer.go
2
peer.go
|
@ -34,7 +34,7 @@ const (
|
||||||
|
|
||||||
// maxKnownInventory is the maximum number of items to keep in the known
|
// maxKnownInventory is the maximum number of items to keep in the known
|
||||||
// inventory cache.
|
// inventory cache.
|
||||||
maxKnownInventory = 20000
|
maxKnownInventory = 1000
|
||||||
|
|
||||||
// negotiateTimeoutSeconds is the number of seconds of inactivity before
|
// negotiateTimeoutSeconds is the number of seconds of inactivity before
|
||||||
// we timeout a peer that hasn't completed the initial version
|
// we timeout a peer that hasn't completed the initial version
|
||||||
|
|
Loading…
Reference in a new issue