Update comment

This commit is contained in:
Pavel Kruglov 2021-02-27 11:45:32 +03:00
parent 4d7ba0443f
commit 1b1f50e324

View File

@ -291,7 +291,7 @@ Packet HedgedConnections::receivePacketUnlocked(AsyncCallback async_callback)
HedgedConnections::ReplicaLocation HedgedConnections::getReadyReplicaLocation(AsyncCallback async_callback) HedgedConnections::ReplicaLocation HedgedConnections::getReadyReplicaLocation(AsyncCallback async_callback)
{ {
/// Firstly, resume replica with the last received packet if needed. /// Firstly, resume replica with the last received packet if it has pending data.
if (replica_with_last_received_packet) if (replica_with_last_received_packet)
{ {
ReplicaLocation location = replica_with_last_received_packet.value(); ReplicaLocation location = replica_with_last_received_packet.value();