1
1
Fork 0
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:
Jeff Becker 2019-12-30 08:20:50 -05:00
parent 98bedc97a8
commit d1a29884df
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -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