Skip to content

Commit

Permalink
Merge pull request #2728 from iotaledger/fix/disabled-autoflash-database
Browse files Browse the repository at this point in the history
disabled `autoflush` for database
  • Loading branch information
shufps authored Jul 19, 2023
2 parents 9170047 + 02f4502 commit 71c06ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/database/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (m *ChainStateDatabaseManager) createDatabase(chainID isc.ChainID) (*databa
return databaseChainState, nil
}

databaseChainState, err := newDatabaseWithHealthTracker(path.Join(m.databasePath, chainID.String()), m.engine, true, StoreVersionChainState, nil)
databaseChainState, err := newDatabaseWithHealthTracker(path.Join(m.databasePath, chainID.String()), m.engine, false, StoreVersionChainState, nil)
if err != nil {
return nil, fmt.Errorf("chain state database initialization failed: %w", err)
}
Expand Down

0 comments on commit 71c06ab

Please sign in to comment.