mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
client side perf improvement
This commit is contained in:
parent
98bedc97a8
commit
d1a29884df
|
@ -20,6 +20,7 @@
|
|||
#include <util/buffer.hpp>
|
||||
#include <util/meta/memfn.hpp>
|
||||
#include <hook/shell.hpp>
|
||||
#include <link/link_manager.hpp>
|
||||
|
||||
#include <utility>
|
||||
|
||||
|
@ -1107,7 +1108,6 @@ namespace llarp
|
|||
{
|
||||
epPump();
|
||||
}
|
||||
|
||||
auto router = Router();
|
||||
// TODO: locking on this container
|
||||
for(const auto& item : m_state->m_RemoteSessions)
|
||||
|
@ -1125,7 +1125,8 @@ namespace llarp
|
|||
}
|
||||
m_state->m_SendQueue.clear();
|
||||
}
|
||||
router->PumpLL();
|
||||
UpstreamFlush(router);
|
||||
router->linkManager().PumpLinks();
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in a new issue