mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-31 09:20:21 +00:00
e005b34169
* llarp::service::NameIsValid was not checking that the tld was .loki, add this check. * make link layer initial connection timeout 5s not the session activity timeout which happens to be 60 god damn seconds.
11 lines
291 B
C++
11 lines
291 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 = 1min;
|
|
constexpr size_t MaxSendQueueSize = 1024;
|
|
static constexpr auto LinkLayerConnectTimeout = 5s;
|