Skip to content

Commit 54a84a7

Browse files
authored
Merge pull request #2227 from Shopify/dnwe/fetch-max-wait-time
fix: make default MaxWaitTime 500ms
2 parents d9f249b + 095b45a commit 54a84a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ func NewConfig() *Config {
483483
c.Consumer.Fetch.Min = 1
484484
c.Consumer.Fetch.Default = 1024 * 1024
485485
c.Consumer.Retry.Backoff = 2 * time.Second
486-
c.Consumer.MaxWaitTime = 250 * time.Millisecond
486+
c.Consumer.MaxWaitTime = 500 * time.Millisecond
487487
c.Consumer.MaxProcessingTime = 100 * time.Millisecond
488488
c.Consumer.Return.Errors = false
489489
c.Consumer.Offsets.AutoCommit.Enable = true

0 commit comments

Comments
 (0)