mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
[NOD-1577] Change cache size to 200 (#1156)
This commit is contained in:
parent
f7fa823f17
commit
0e91b44fc6
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user