mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 15:31:20 +00:00
Increase hot state cache size to 32 (#6033)
* Increase hot state cache size to 16 * Merge refs/heads/master into hot-state-cache-size
This commit is contained in:
parent
cde127354c
commit
ac862d1e7e
2
beacon-chain/cache/hot_state_cache.go
vendored
2
beacon-chain/cache/hot_state_cache.go
vendored
@ -9,7 +9,7 @@ import (
|
||||
|
||||
var (
|
||||
// hotStateCacheSize defines the max number of hot state this can cache.
|
||||
hotStateCacheSize = 16
|
||||
hotStateCacheSize = 32
|
||||
// Metrics
|
||||
hotStateCacheHit = promauto.NewCounter(prometheus.CounterOpts{
|
||||
Name: "hot_state_cache_hit",
|
||||
|
Loading…
Reference in New Issue
Block a user