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:
terence tsao 2020-05-28 22:01:40 -07:00 committed by GitHub
parent cde127354c
commit ac862d1e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",