mirror of https://github.com/oxen-io/lokinet
make static constant for decay interval
This commit is contained in:
parent
7c92805bb4
commit
472cee2594
|
@ -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…
Reference in New Issue