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

Set default state ttl to 86400, set serializer delay to up to 6h (#1125)

This commit is contained in:
SpyCheese 2024-08-26 17:53:42 +03:00 committed by EmelyanenkoK
parent 18305ab2e6
commit 31840a7aa3
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ void AsyncStateSerializer::next_iteration() {
LOG(ERROR) << "started serializing persistent state for " << masterchain_handle_->id().id.to_str();
// block next attempts immediately, but send actual request later
running_ = true;
double delay = td::Random::fast(0, 3600);
double delay = td::Random::fast(0, 3600 * 6);
LOG(WARNING) << "serializer delay = " << delay << "s";
delay_action(
[SelfId = actor_id(this)]() {