mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Cleanup mempool on collators
This commit is contained in:
parent
4a6479af57
commit
dcb409462a
1 changed files with 1 additions and 1 deletions
|
@ -2841,7 +2841,7 @@ void ValidatorManagerImpl::alarm() {
|
||||||
}
|
}
|
||||||
alarm_timestamp().relax(log_ls_stats_at_);
|
alarm_timestamp().relax(log_ls_stats_at_);
|
||||||
if (cleanup_mempool_at_.is_in_past()) {
|
if (cleanup_mempool_at_.is_in_past()) {
|
||||||
if (is_validator()) {
|
if (is_validator() || !collator_nodes_.empty()) {
|
||||||
get_external_messages(ShardIdFull{masterchainId, shardIdAll},
|
get_external_messages(ShardIdFull{masterchainId, shardIdAll},
|
||||||
[](td::Result<std::vector<std::pair<td::Ref<ExtMessage>, int>>>) {});
|
[](td::Result<std::vector<std::pair<td::Ref<ExtMessage>, int>>>) {});
|
||||||
get_external_messages(ShardIdFull{basechainId, shardIdAll},
|
get_external_messages(ShardIdFull{basechainId, shardIdAll},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue