From 778adce53dcf8d721763c6d31c21c55d591a8d04 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 31 Oct 2020 16:33:06 +0300 Subject: [PATCH] Add debug logging. GitOrigin-RevId: 08ae2a25ae086a2211658239a532e1e19d996a4f --- td/telegram/UpdatesManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/td/telegram/UpdatesManager.cpp b/td/telegram/UpdatesManager.cpp index 84e6eff9f..c86f2d789 100644 --- a/td/telegram/UpdatesManager.cpp +++ b/td/telegram/UpdatesManager.cpp @@ -1520,6 +1520,9 @@ void UpdatesManager::process_qts_update(tl_object_ptr &&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;