Skip to content

Commit

Permalink
Merge pull request #2227 from Shopify/dnwe/fetch-max-wait-time
Browse files Browse the repository at this point in the history
fix: make default MaxWaitTime 500ms
  • Loading branch information
dnwe authored May 11, 2022
2 parents d9f249b + 095b45a commit 54a84a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ func NewConfig() *Config {
c.Consumer.Fetch.Min = 1
c.Consumer.Fetch.Default = 1024 * 1024
c.Consumer.Retry.Backoff = 2 * time.Second
c.Consumer.MaxWaitTime = 250 * time.Millisecond
c.Consumer.MaxWaitTime = 500 * time.Millisecond
c.Consumer.MaxProcessingTime = 100 * time.Millisecond
c.Consumer.Return.Errors = false
c.Consumer.Offsets.AutoCommit.Enable = true
Expand Down

0 comments on commit 54a84a7

Please sign in to comment.