Skip to content

Commit

Permalink
Improving piggyback heartbeat sending. (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
richiware authored and MiguelCompany committed Dec 11, 2019
1 parent 20bd44b commit 1bd1ea4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cpp/rtps/writer/StatefulWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,11 +779,11 @@ void StatefulWriter::send_any_unsent_changes()
logError(RTPS_WRITER, "Error sending change " << changeToSend.sequenceNumber);
}
}

// Heartbeat piggyback.
send_heartbeat_piggyback_nts_(nullptr, group, lastBytesProcessed);
}

// Heartbeat piggyback.
send_heartbeat_piggyback_nts_(nullptr, group, lastBytesProcessed);

for (std::pair<std::vector<ReaderProxy*>,
std::set<SequenceNumber_t> > pair : notRelevantChanges.elements())
{
Expand Down

0 comments on commit 1bd1ea4

Please sign in to comment.