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:
parent
ff130e2b5e
commit
3619356406
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue