Skip to content

Commit

Permalink
go back to writesync
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenlanders committed Mar 25, 2024
1 parent 6ecb91a commit 7bc8b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/state/indexer/tx/kv/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ func (txi *TxIndex) Index(results []*abci.TxResult) error {
}
}
debugutil.PrintStats("TxIndex.Index b.Set(primaryKey(hash), rawBytes)", durations)
t2 := debugutil.NewTimer(fmt.Sprintf("TxIndex.Index Write (txs=%d)", len(results)))
err := b.Write()
t2 := debugutil.NewTimer(fmt.Sprintf("TxIndex.Index WriteSync (txs=%d)", len(results)))
err := b.WriteSync()
t2.Stop()
return err
}
Expand Down

0 comments on commit 7bc8b77

Please sign in to comment.