Skip to content

Commit

Permalink
disabled autoflush for database
Browse files Browse the repository at this point in the history
  • Loading branch information
shufps committed Jul 17, 2023
1 parent 9170047 commit 02f4502
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 02f4502

Please sign in to comment.