Update llarp/router/outbound_message_handler.cpp

add comment

Co-authored-by: Thomas Winget <tewinget@gmail.com>
pull/1907/head
majestrate 2 years ago committed by Jeff
parent 238c33f565
commit 5b0ece3f9e
No known key found for this signature in database
GPG Key ID: 025C02EE3A092F2D

@ -84,7 +84,10 @@ namespace llarp
m_Killer.TryAccess([this]() {
recentlyRemovedPaths.Decay();
ProcessOutboundQueue();
if (SendRoundRobin())
// TODO: this probably shouldn't be pumping, as it defeats the purpose
// of having a limit on sends per tick, but chaning it is potentially bad
// and requires testing so it should be changed later.
if (/*bool more = */ SendRoundRobin())
_router->TriggerPump();
});
}

Loading…
Cancel
Save