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

reduce window

This commit is contained in:
Jeff Becker 2019-12-05 14:58:24 -05:00
parent 9be4092a2a
commit 32da9e0817
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -356,7 +356,7 @@ namespace llarp
void
ILinkLayer::CloseSessionTo(const RouterID& remote)
{
static constexpr llarp_time_t CloseGraceWindow = 5000;
static constexpr llarp_time_t CloseGraceWindow = 500;
const auto now = Now();
ACQUIRE_LOCK(Lock_t l, m_AuthedLinksMutex);
RouterID r = remote;