mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Increase INACTIVE_SHARD_TTL
Node in overlay should be available until peer is expired
This commit is contained in:
parent
8e85bfa6e6
commit
96afdc12ac
3 changed files with 7 additions and 3 deletions
|
@ -27,7 +27,7 @@ namespace validator {
|
|||
|
||||
namespace fullnode {
|
||||
|
||||
static const double INACTIVE_SHARD_TTL = 120.0;
|
||||
static const double INACTIVE_SHARD_TTL = (double)overlay::Overlays::overlay_peer_ttl() + 60.0;
|
||||
|
||||
void FullNodeImpl::add_permanent_key(PublicKeyHash key, td::Promise<td::Unit> promise) {
|
||||
if (local_keys_.count(key)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue