Add debug logging.

GitOrigin-RevId: 08ae2a25ae086a2211658239a532e1e19d996a4f
This commit is contained in:
levlam 2020-10-31 16:33:06 +03:00
parent 98ff412f7a
commit 778adce53d

View File

@ -1520,6 +1520,9 @@ void UpdatesManager::process_qts_update(tl_object_ptr<telegram_api::Update> &&up
}
void UpdatesManager::process_pending_seq_updates() {
if (!pending_seq_updates_.empty()) {
LOG(DEBUG) << "Trying to process " << pending_seq_updates_.size() << " pending seq updates";
}
while (!pending_seq_updates_.empty() && !running_get_difference_) {
auto update_it = pending_seq_updates_.begin();
auto seq_begin = update_it->second.seq_begin;