mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
60cc47447f
make the default inbound session lifetime be default session lifetime + 2 ping intervals
11 lines
296 B
C++
11 lines
296 B
C++
#pragma once
|
|
#include <llarp/util/types.hpp>
|
|
#include <llarp/util/time.hpp>
|
|
|
|
#include <cstdlib>
|
|
|
|
constexpr size_t MAX_LINK_MSG_SIZE = 8192;
|
|
static constexpr auto DefaultLinkSessionLifetime = 5min;
|
|
constexpr size_t MaxSendQueueSize = 1024 * 16;
|
|
static constexpr auto LinkLayerConnectTimeout = 5s;
|