Skip to content

Commit

Permalink
Tweak maxMemoryItems = 50 for Eth2PeerDataStore
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Feb 15, 2022
1 parent 16dfba5 commit 88c20e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lodestar/src/network/peers/datastore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class Eth2PeerDataStore extends BaseDatastore {

constructor(
dbDatastore: LevelDatastore | string,
{threshold = 5, maxMemoryItems = 100}: {threshold?: number | undefined; maxMemoryItems?: number | undefined} = {}
{threshold = 5, maxMemoryItems = 50}: {threshold?: number | undefined; maxMemoryItems?: number | undefined} = {}
) {
super();

Expand Down

0 comments on commit 88c20e8

Please sign in to comment.