Increase size of reachability and block-relations cache (#1272)

* Increase size of reachability cache

* Increase cache size for BlockRelationStore
This commit is contained in:
Svarog 2020-12-24 10:27:05 +02:00 committed by GitHub
parent 6ef8eaf133
commit 717914319a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,11 +74,11 @@ func (f *factory) NewConsensus(dagParams *dagconfig.Params, db infrastructuredat
if err != nil {
return nil, err
}
blockRelationStore := blockrelationstore.New(200)
blockRelationStore := blockrelationstore.New(10_000)
blockStatusStore := blockstatusstore.New(200)
multisetStore := multisetstore.New(200)
pruningStore := pruningstore.New()
reachabilityDataStore := reachabilitydatastore.New(200)
reachabilityDataStore := reachabilitydatastore.New(10_000)
utxoDiffStore := utxodiffstore.New(200)
consensusStateStore := consensusstatestore.New()
ghostdagDataStore := ghostdagdatastore.New(10_000)