Skip to content

Commit

Permalink
increased input buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
alespour committed Jul 10, 2019
1 parent 86902eb commit 03bf644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/bulk_load_influx/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ func scan(itemsPerBatch int, doneCh chan int) (int64, int64, int64) {

var batchItemCount uint64

scanner := bufio.NewScanner(bufio.NewReaderSize(os.Stdin, 4*1024*1024))
scanner := bufio.NewScanner(bufio.NewReaderSize(os.Stdin, 16*1024*1024))
outer:
for scanner.Scan() {
if itemsRead == itemLimit {
Expand Down

0 comments on commit 03bf644

Please sign in to comment.