Add missing inbound traffic pump trigger

This commit is contained in:
Jason Rhinelander 2021-11-14 14:57:34 -04:00
parent 8cdde74020
commit 846577a0aa
2 changed files with 1 additions and 4 deletions

View File

@ -1167,6 +1167,7 @@ namespace llarp
|| (msg->proto == ProtocolType::QUIC and m_quic))
{
m_InboundTrafficQueue.tryPushBack(std::move(msg));
Router()->TriggerPump();
return true;
}
if (msg->proto == ProtocolType::Control)

View File

@ -244,10 +244,6 @@ namespace llarp
std::string service,
std::function<void(std::vector<dns::SRVData>)> resultHandler) override;
/// called when something needs a pump to trigger the pump idempotently
void
TriggerPump();
/// called on event loop pump
virtual void
Pump(llarp_time_t now);