Remove debug logging for slow internal queries.
This commit is contained in:
parent
d80927269a
commit
918a92c7ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue