mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
disable link layer locking because there was no contention
This commit is contained in:
parent
dcdc7dc904
commit
2ab265be41
@ -79,7 +79,7 @@ namespace llarp
|
||||
auto itr = m_AuthedAddrs.find(from);
|
||||
if(itr == m_AuthedAddrs.end())
|
||||
{
|
||||
util::Lock lock(&m_PendingMutex);
|
||||
Lock lock(&m_PendingMutex);
|
||||
if(m_Pending.count(from) == 0)
|
||||
{
|
||||
if(not permitInbound)
|
||||
|
@ -237,8 +237,8 @@ namespace llarp
|
||||
const SecretKey& m_RouterEncSecret;
|
||||
|
||||
protected:
|
||||
using Lock = util::Lock;
|
||||
using Mutex = util::Mutex;
|
||||
using Lock = util::NullLock;
|
||||
using Mutex = util::NullMutex;
|
||||
|
||||
bool
|
||||
PutSession(const std::shared_ptr< ILinkSession >& s);
|
||||
|
Loading…
Reference in New Issue
Block a user