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
|
@ -187,6 +187,10 @@ class Overlays : public td::actor::Actor {
|
|||
return 1;
|
||||
}
|
||||
|
||||
static constexpr td::uint32 overlay_peer_ttl() {
|
||||
return 600;
|
||||
}
|
||||
|
||||
static td::actor::ActorOwn<Overlays> create(std::string db_root, td::actor::ActorId<keyring::Keyring> keyring,
|
||||
td::actor::ActorId<adnl::Adnl> adnl, td::actor::ActorId<dht::Dht> dht);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue