mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 02:57:53 +00:00
Fixed spacing issues
This commit is contained in:
@@ -682,7 +682,7 @@ bool BufferedProducer<BufferType, Allocator>::flush(std::chrono::milliseconds ti
|
|||||||
std::swap(messages_, flush_queue);
|
std::swap(messages_, flush_queue);
|
||||||
}
|
}
|
||||||
auto remaining = timeout;
|
auto remaining = timeout;
|
||||||
auto start_time = std::chrono::high_resolution_clock::now();
|
auto start_time = std::chrono::high_resolution_clock::now();
|
||||||
do {
|
do {
|
||||||
if (!hi_pri_flush_queue.empty()) {
|
if (!hi_pri_flush_queue.empty()) {
|
||||||
sync_produce(hi_pri_flush_queue.front());
|
sync_produce(hi_pri_flush_queue.front());
|
||||||
@@ -824,7 +824,7 @@ void BufferedProducer<BufferType, Allocator>::do_add_message(BuilderType&& build
|
|||||||
else {
|
else {
|
||||||
async_flush();
|
async_flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename BufferType, typename Allocator>
|
template <typename BufferType, typename Allocator>
|
||||||
|
|||||||
Reference in New Issue
Block a user