We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8660d05 commit c0c7785Copy full SHA for c0c7785
.gitignore
@@ -8,6 +8,7 @@
8
/spec/reports/
9
/tmp/
10
.env
11
+.idea/
12
*.log
13
*.swp
14
.byebug_history
lib/kafka/consumer.rb
@@ -546,7 +546,7 @@ def fetch_batches
546
547
if !@fetcher.data?
548
@logger.debug "No batches to process"
549
- sleep 2
+ sleep(@fetcher.max_wait_time || 2)
550
[]
551
else
552
tag, message = @fetcher.poll
0 commit comments