mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 08:37:37 +00:00
Increase BLS pubkey cache to 100k from 10k (#4737)
* Increase BLS pubkey cache to 100k from 10k
This commit is contained in:
parent
ce0b55d13e
commit
7c4950832c
@ -24,7 +24,7 @@ func init() {
|
|||||||
bls12.SetETHserialization(true)
|
bls12.SetETHserialization(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
var maxKeys = int64(10000)
|
var maxKeys = int64(100000)
|
||||||
var pubkeyCache, _ = ristretto.NewCache(&ristretto.Config{
|
var pubkeyCache, _ = ristretto.NewCache(&ristretto.Config{
|
||||||
NumCounters: maxKeys,
|
NumCounters: maxKeys,
|
||||||
MaxCost: 1 << 19, // 500 kb is cache max size
|
MaxCost: 1 << 19, // 500 kb is cache max size
|
||||||
|
Loading…
Reference in New Issue
Block a user