make static constant for decay interval

pull/1014/head
Jeff Becker 4 years ago
parent 7c92805bb4
commit 472cee2594
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -9,8 +9,12 @@ namespace llarp
{
namespace path
{
static constexpr llarp_time_t DefaultPathBuildLimit = 500;
PathContext::PathContext(AbstractRouter* router)
: m_Router(router), m_AllowTransit(false), m_PathLimits(500)
: m_Router(router)
, m_AllowTransit(false)
, m_PathLimits(DefaultPathBuildLimit)
{
}

Loading…
Cancel
Save