Skip to content

Commit efff79b

Browse files
committed
Format
1 parent db2ad8b commit efff79b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

mooncake-ep/src/mooncake_backend.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -839,15 +839,17 @@ void MooncakeBackend::p2PRecvWorkerThread() {
839839
while (!p2pRecvQueue_.empty()) {
840840
P2POp candidate = p2pRecvQueue_.front();
841841
p2pRecvQueue_.pop();
842-
843-
if (!foundReady && candidate.seq == meta_.p2pRecvNextExpected[candidate.peerRank]) {
842+
843+
if (!foundReady &&
844+
candidate.seq ==
845+
meta_.p2pRecvNextExpected[candidate.peerRank]) {
844846
op = candidate;
845847
foundReady = true;
846848
} else {
847849
tempQueue.push(candidate);
848850
}
849851
}
850-
852+
851853
// Put remaining operations back
852854
while (!tempQueue.empty()) {
853855
p2pRecvQueue_.push(tempQueue.front());

0 commit comments

Comments
 (0)