Fix misprint.

GitOrigin-RevId: cb8c1e3f26771d317ae3c9db1157d8e98d0ad3a8
This commit is contained in:
levlam 2020-08-23 20:34:05 +03:00
parent dd722844bd
commit 3305ca5689
2 changed files with 4 additions and 4 deletions

View File

@ -875,7 +875,7 @@ class ConfigRecoverer : public Actor {
};
ConfigManager::ConfigManager(ActorShared<> parent) : parent_(std::move(parent)) {
lazy_request_flood_countrol_.add_limit(20, 1);
lazy_request_flood_control_.add_limit(20, 1);
}
void ConfigManager::start_up() {
@ -930,7 +930,7 @@ void ConfigManager::request_config() {
return;
}
lazy_request_flood_countrol_.add_event(static_cast<int32>(Timestamp::now().at()));
lazy_request_flood_control_.add_event(static_cast<int32>(Timestamp::now().at()));
request_config_from_dc_impl(DcId::main());
}
@ -943,7 +943,7 @@ void ConfigManager::lazy_request_config() {
return;
}
expire_time_.relax(Timestamp::at(lazy_request_flood_countrol_.get_wakeup_at()));
expire_time_.relax(Timestamp::at(lazy_request_flood_control_.get_wakeup_at()));
set_timeout_at(expire_time_.at());
}

View File

@ -114,7 +114,7 @@ class ConfigManager : public NetQueryCallback {
int ref_cnt_{1};
Timestamp expire_time_;
FloodControlStrict lazy_request_flood_countrol_;
FloodControlStrict lazy_request_flood_control_;
vector<Promise<td_api::object_ptr<td_api::JsonValue>>> get_app_config_queries_;