Skip to content

Commit

Permalink
eth/protocols/eth: reduced maxKnownTxs to 100000, to ease memory pres…
Browse files Browse the repository at this point in the history
…sure
  • Loading branch information
saddoc committed Dec 21, 2023
1 parent 602a9b5 commit da3cbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/protocols/eth/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
const (
// maxKnownTxs is the maximum transactions hashes to keep in the known list
// before starting to randomly evict them.
maxKnownTxs = 2000000
maxKnownTxs = 100000

// maxKnownBlocks is the maximum block hashes to keep in the known list
// before starting to randomly evict them.
Expand Down

0 comments on commit da3cbaa

Please sign in to comment.