mirror of https://github.com/apache/kafka.git
Fix stupid typo for poll timeout
This commit is contained in:
parent
91409bc9d3
commit
e7b53865fd
|
|
@ -877,9 +877,7 @@ public class AsyncKafkaConsumer<K, V> implements ConsumerDelegate<K, V> {
|
|||
boolean newlySubmittedEvent = false;
|
||||
|
||||
if (inflightPoll == null) {
|
||||
long pollTimeMs = time.milliseconds();
|
||||
long deadlineMs = calculateDeadlineMs(time, pollTimeMs);
|
||||
inflightPoll = new AsyncPollEvent(deadlineMs, pollTimeMs);
|
||||
inflightPoll = new AsyncPollEvent(calculateDeadlineMs(timer), time.milliseconds());
|
||||
newlySubmittedEvent = true;
|
||||
|
||||
if (log.isTraceEnabled()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue