Skip to content

Commit

Permalink
added missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
demin80 committed Jan 18, 2019
1 parent 5a34955 commit 755e9f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/cppkafka/utils/buffered_producer.h
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,7 @@ bool BufferedProducer<BufferType, Allocator>::flush(std::chrono::milliseconds ti
};
re_enqueuer(retry_flush_queue, retry_messages_, retry_mutex_);
re_enqueuer(flush_queue, messages_, mutex_);
return true;
}
else {
async_flush();
Expand Down

0 comments on commit 755e9f1

Please sign in to comment.