Skip to content

Commit 0ca6873

Browse files
committed
clang format
1 parent 54bd885 commit 0ca6873

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

lib/ConsumerImpl.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,11 +1106,11 @@ Result ConsumerImpl::receiveHelper(Message& msg, int timeout) {
11061106
}
11071107
auto cnx = getCnx().lock();
11081108
if (cnx) {
1109-
LOG_WARN(getName() << " Receive timeout after " << timeout << " ms, connection: " << cnx->cnxString()
1110-
<< ", queue size: " << incomingMessages_.size());
1109+
LOG_WARN(getName() << " Receive timeout after " << timeout << " ms, connection: "
1110+
<< cnx->cnxString() << ", queue size: " << incomingMessages_.size());
11111111
} else {
1112-
LOG_WARN(getName() << " Receive timeout after " << timeout << " ms, no connection, queue size: "
1113-
<< incomingMessages_.size());
1112+
LOG_WARN(getName() << " Receive timeout after " << timeout
1113+
<< " ms, no connection, queue size: " << incomingMessages_.size());
11141114
}
11151115
return ResultTimeout;
11161116
}

lib/MultiTopicsConsumerImpl.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,11 +603,11 @@ Result MultiTopicsConsumerImpl::receive(Message& msg, int timeout) {
603603
}
604604
auto cnx = getCnx().lock();
605605
if (cnx) {
606-
LOG_WARN(getName() << " Receive timeout after " << timeout << " ms, connection: " << cnx->cnxString()
607-
<< ", queue size: " << incomingMessages_.size());
606+
LOG_WARN(getName() << " Receive timeout after " << timeout << " ms, connection: "
607+
<< cnx->cnxString() << ", queue size: " << incomingMessages_.size());
608608
} else {
609-
LOG_WARN(getName() << " Receive timeout after " << timeout << " ms, no connection, queue size: "
610-
<< incomingMessages_.size());
609+
LOG_WARN(getName() << " Receive timeout after " << timeout
610+
<< " ms, no connection, queue size: " << incomingMessages_.size());
611611
}
612612
return ResultTimeout;
613613
}

lib/UnAckedMessageTrackerEnabled.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ void UnAckedMessageTrackerEnabled::timeoutHandlerHelper() {
6060
if (!headPartition.empty()) {
6161
auto cnx = consumerReference_.getCnx().lock();
6262
if (cnx) {
63-
LOG_WARN(consumerReference_.getName() << " Unacked messages timeout: " << headPartition.size()
64-
<< " messages not acked within " << timeoutMs_
65-
<< " ms, connection: " << cnx->cnxString());
63+
LOG_WARN(consumerReference_.getName()
64+
<< " Unacked messages timeout: " << headPartition.size() << " messages not acked within "
65+
<< timeoutMs_ << " ms, connection: " << cnx->cnxString());
6666
} else {
67-
LOG_WARN(consumerReference_.getName() << " Unacked messages timeout: " << headPartition.size()
68-
<< " messages not acked within " << timeoutMs_
69-
<< " ms, no connection");
67+
LOG_WARN(consumerReference_.getName()
68+
<< " Unacked messages timeout: " << headPartition.size() << " messages not acked within "
69+
<< timeoutMs_ << " ms, no connection");
7070
}
7171
for (auto it = headPartition.begin(); it != headPartition.end(); it++) {
7272
msgIdsToRedeliver.insert(*it);

0 commit comments

Comments
 (0)