mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-12 20:37:33 +01:00
Remove debug logging for slow internal queries.
This commit is contained in:
parent
c95ccee93f
commit
0df68c6235
@ -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…
x
Reference in New Issue
Block a user