1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Limit query size in importing out queues

This commit is contained in:
SpyCheese 2023-07-31 22:56:25 +03:00
parent 5c02459fd8
commit e814973749
2 changed files with 6 additions and 1 deletions

View file

@ -1850,6 +1850,8 @@ void ValidatorEngine::started_dht() {
void ValidatorEngine::start_rldp() {
rldp_ = ton::rldp::Rldp::create(adnl_.get());
rldp2_ = ton::rldp2::Rldp::create(adnl_.get());
td::actor::send_closure(rldp_, &ton::rldp::Rldp::set_default_mtu, 2048);
td::actor::send_closure(rldp2_, &ton::rldp2::Rldp::set_default_mtu, 2048);
started_rldp();
}