mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add mempool messages cap
This commit is contained in:
parent
678a8a6a13
commit
69d0472510
7 changed files with 31 additions and 2 deletions
|
@ -580,6 +580,9 @@ class ValidatorManagerImpl : public ValidatorManager {
|
|||
double block_ttl() const {
|
||||
return opts_->block_ttl();
|
||||
}
|
||||
double max_mempool_num() const {
|
||||
return opts_->max_mempool_num();
|
||||
}
|
||||
|
||||
private:
|
||||
std::map<BlockSeqno, WaitList<td::actor::Actor, td::Unit>> shard_client_waiters_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue