Remove debug logging for slow internal queries.

This commit is contained in:
levlam 2021-07-27 01:54:11 +03:00
parent c95ccee93f
commit 0df68c6235
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ void Query::send_request_stat() const {
void Query::send_response_stat() const {
auto now = td::Time::now();
if (now - start_timestamp_ >= 100.0) {
if (now - start_timestamp_ >= 100.0 && !is_internal_) {
LOG(WARNING) << "Answer too old query with code " << http_status_code_ << " and answer size " << answer_.size()
<< ": " << *this;
}