mirror of https://github.com/oxen-io/lokinet
Add missing inbound traffic pump trigger
This commit is contained in:
parent
8cdde74020
commit
846577a0aa
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue