mirror of https://github.com/oxen-io/lokinet
Move paths pumping into PumpLL
This commit is contained in:
parent
687b54f860
commit
09c2b31b25
|
@ -69,11 +69,7 @@ namespace llarp
|
|||
_running.store(false);
|
||||
_lastTick = llarp::time_now_ms();
|
||||
m_NextExploreAt = Clock_t::now();
|
||||
m_Pump = _loop->make_waker([this]() {
|
||||
paths.PumpDownstream();
|
||||
paths.PumpUpstream();
|
||||
PumpLL();
|
||||
});
|
||||
m_Pump = _loop->make_waker([this]() { PumpLL(); });
|
||||
}
|
||||
|
||||
Router::~Router()
|
||||
|
@ -87,6 +83,8 @@ namespace llarp
|
|||
llarp::LogTrace("Router::PumpLL() start");
|
||||
if (_stopping.load())
|
||||
return;
|
||||
paths.PumpDownstream();
|
||||
paths.PumpUpstream();
|
||||
_hiddenServiceContext.Pump();
|
||||
_outboundMessageHandler.Pump();
|
||||
_linkManager.PumpLinks();
|
||||
|
|
Loading…
Reference in New Issue