Improve log message.

This commit is contained in:
levlam 2021-04-08 16:49:00 +03:00
parent bf371b21b9
commit ef23b96c94
1 changed files with 3 additions and 3 deletions

View File

@ -7897,9 +7897,9 @@ void Client::do_get_updates(int32 offset, int32 limit, int32 timeout, PromisedQu
}
}
if (need_warning) {
LOG(WARNING) << "Found " << updates.size() << " updates out of " << total_size << " + " << updates.size()
<< " after last getUpdates call " << (td::Time::now() - previous_get_updates_finish_time_)
<< " seconds ago";
LOG(WARNING) << "Found " << updates.size() << " updates out of " << (total_size + updates.size())
<< " after last getUpdates call " << (query->start_timestamp() - previous_get_updates_finish_time_)
<< " seconds ago in " << (td::Time::now() - query->start_timestamp()) << " seconds";
} else {
LOG(DEBUG) << "Found " << updates.size() << " updates out of " << total_size << " from " << from;
}