1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

attempt fixing 100% cpu use on relays

This commit is contained in:
Jeff Becker 2020-08-14 12:38:51 -04:00
parent ff130e2b5e
commit 3619356406
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -29,7 +29,7 @@ namespace llarp
ExitHandlerFlush(llarp_tun_io* tun)
{
auto* ep = static_cast<ExitEndpoint*>(tun->user);
LogicCall(ep->GetRouter()->logic(), std::bind(&ExitEndpoint::Flush, ep));
ep->Flush();
}
ExitEndpoint::ExitEndpoint(const std::string& name, AbstractRouter* r)