Skip to content

Commit

Permalink
Increase BLS pubkey cache to 100k from 10k (#4737)
Browse files Browse the repository at this point in the history
* Increase BLS pubkey cache to 100k from 10k
  • Loading branch information
prestonvanloon committed Feb 4, 2020
1 parent ce0b55d commit 7c49508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/bls/bls.go
Expand Up @@ -24,7 +24,7 @@ func init() {
bls12.SetETHserialization(true)
}

var maxKeys = int64(10000)
var maxKeys = int64(100000)
var pubkeyCache, _ = ristretto.NewCache(&ristretto.Config{
NumCounters: maxKeys,
MaxCost: 1 << 19, // 500 kb is cache max size
Expand Down

0 comments on commit 7c49508

Please sign in to comment.