Skip to content

Commit

Permalink
Goog recommended batch size is 500
Browse files Browse the repository at this point in the history
  • Loading branch information
lxcode committed Nov 14, 2024
1 parent 9ddf16a commit 5fb7f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/output/bq/bq.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ MainLoop:

values = append(values, value)

// If there are more than 250 values, write them now
if len(values) >= 250 {
// If there are more than 500 values, write them now
if len(values) >= 500 {
break ChannelCollector
}
default:
Expand Down

0 comments on commit 5fb7f2c

Please sign in to comment.