[NOD-1577] Change cache size to 200 (#1156)

This commit is contained in:
Ori Newman 2020-11-26 07:11:49 -08:00 committed by GitHub
parent f7fa823f17
commit 0e91b44fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ func (f *factory) NewConsensus(dagParams *dagconfig.Params, db infrastructuredat
dbManager := consensusdatabase.New(db)
// Data Structures
storeCacheSize := int(dagParams.FinalityDepth())
storeCacheSize := 200
acceptanceDataStore := acceptancedatastore.New(storeCacheSize)
blockStore, err := blockstore.New(dbManager, storeCacheSize)
if err != nil {