Skip to content

Commit

Permalink
Decrease ledgerReadAheadBufferSize buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekn committed Nov 9, 2020
1 parent 09fd2cd commit ee3226c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingest/ledgerbackend/buffered_meta_pipe_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
// usually wait for a specific time duration before checking if the ledger is
// available. When catching up and small buffer this can increase the overall
// time because ledgers are not available.
ledgerReadAheadBufferSize = 100
ledgerReadAheadBufferSize = 20
)

type metaResult struct {
Expand Down

0 comments on commit ee3226c

Please sign in to comment.