Add debug to send_query.

GitOrigin-RevId: 2ac237e8288335acad7f9f8f0a3ab6ef686210b7
This commit is contained in:
levlam 2018-06-21 22:14:52 +03:00
parent 93afb805f1
commit 44bc3d5f08

View File

@ -712,6 +712,8 @@ Result<uint64> SessionConnection::send_query(BufferSlice buffer, bool gzip_flag,
send_before(Time::now_cached() + QUERY_DELAY);
}
to_send_.push_back(Query{message_id, seq_no, std::move(buffer), gzip_flag, invoke_after_id, use_quick_ack});
VLOG(mtproto) << "Invoke query " << message_id << " of size " << to_send_.back().packet.size() << " with seq_no "
<< seq_no << " after " << invoke_after_id << (use_quick_ack ? " with quick ack" : "");
return message_id;
}