Skip to content

Commit

Permalink
Change to write
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Mar 26, 2024
1 parent 7bc8b77 commit b6c7ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/eventbus/event_bus.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/tendermint/tendermint/types"
)

var DefaultBufferCapacity = 10
var DefaultBufferCapacity = 100

// Subscription is a proxy interface for a pubsub Subscription.
type Subscription interface {
Expand Down
2 changes: 1 addition & 1 deletion internal/state/indexer/tx/kv/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ 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 WriteSync (txs=%d)", len(results)))
err := b.WriteSync()
err := b.Write()
t2.Stop()
return err
}
Expand Down

0 comments on commit b6c7ba8

Please sign in to comment.