Improve logging.

GitOrigin-RevId: 5ffb2eb51d6f3a05985925630bf7ca243d47f418
This commit is contained in:
levlam 2020-05-25 00:11:18 +03:00
parent d5c6c51f15
commit f06778c7f7

View File

@ -457,7 +457,8 @@ WebPageId WebPagesManager::on_get_web_page(tl_object_ptr<telegram_api::WebPage>
}
auto web_page_date = web_page->date_;
LOG(INFO) << "Got pending " << web_page_id << ", date = " << web_page_date << ", now = " << G()->server_time();
LOG(INFO) << "Got pending " << web_page_id << ", force_get_date = " << web_page_date
<< ", now = " << G()->server_time();
pending_web_pages_timeout_.add_timeout_in(web_page_id.get(), max(web_page_date - G()->server_time(), 1.0));
return web_page_id;