Remove unneeded logging.
GitOrigin-RevId: 473cab6f91a53360e2a696cc50a48c018ce705c6
This commit is contained in:
parent
554fbe1b8b
commit
d6404db146
@ -161,7 +161,6 @@ void Global::save_server_time() {
|
||||
}
|
||||
|
||||
void Global::do_save_server_time_difference() {
|
||||
LOG(INFO) << "Save server time difference";
|
||||
// diff = server_time - Time::now
|
||||
// fixed_diff = server_time - Clocks::system
|
||||
double system_time = Clocks::system();
|
||||
|
@ -15419,7 +15419,6 @@ void MessagesManager::close_dialog(Dialog *d) {
|
||||
}
|
||||
|
||||
if (is_message_unload_enabled()) {
|
||||
LOG(INFO) << "Schedule unload of " << dialog_id;
|
||||
pending_unload_dialog_timeout_.set_timeout_in(dialog_id.get(), get_unload_dialog_delay());
|
||||
}
|
||||
|
||||
@ -26593,7 +26592,6 @@ MessagesManager::Message *MessagesManager::add_message_to_dialog(Dialog *d, uniq
|
||||
|
||||
bool is_attached = false;
|
||||
if (auto_attach) {
|
||||
LOG(INFO) << "Trying to auto attach " << message_id;
|
||||
auto it = MessagesIterator(d, message_id);
|
||||
Message *previous_message = *it;
|
||||
if (previous_message != nullptr) {
|
||||
@ -26649,7 +26647,7 @@ MessagesManager::Message *MessagesManager::add_message_to_dialog(Dialog *d, uniq
|
||||
}
|
||||
}
|
||||
if (!is_attached) {
|
||||
LOG(INFO) << "Can't attach " << message_id;
|
||||
LOG(INFO) << "Can't auto-attach " << message_id;
|
||||
message->have_previous = false;
|
||||
message->have_next = false;
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ void NetQueryDispatcher::complete_net_query(NetQueryPtr net_query) {
|
||||
}
|
||||
|
||||
void NetQueryDispatcher::dispatch(NetQueryPtr net_query) {
|
||||
net_query->debug("dispatch");
|
||||
// net_query->debug("dispatch");
|
||||
if (stop_flag_.load(std::memory_order_relaxed)) {
|
||||
if (net_query->id() != 0) {
|
||||
net_query->set_error(Status::Error(500, "Request aborted"));
|
||||
|
@ -231,7 +231,7 @@ void Session::connection_online_update(bool force) {
|
||||
void Session::send(NetQueryPtr &&query) {
|
||||
last_activity_timestamp_ = Time::now();
|
||||
|
||||
query->debug("Session: received from SessionProxy");
|
||||
// query->debug("Session: received from SessionProxy");
|
||||
query->set_session_id(auth_data_.get_session_id());
|
||||
VLOG(net_query) << "Got query " << query;
|
||||
if (query->update_is_ready()) {
|
||||
@ -914,7 +914,7 @@ void Session::connection_send_query(ConnectionInfo *info, NetQueryPtr &&net_quer
|
||||
}
|
||||
}
|
||||
|
||||
net_query->debug("Session: send to mtproto::connection");
|
||||
// net_query->debug("Session: send to mtproto::connection");
|
||||
auto r_message_id =
|
||||
info->connection->send_query(net_query->query().clone(), net_query->gzip_flag() == NetQuery::GzipFlag::On,
|
||||
message_id, invoke_after_id, static_cast<bool>(net_query->quick_ack_promise_));
|
||||
|
@ -48,7 +48,7 @@ void SessionMultiProxy::send(NetQueryPtr query) {
|
||||
sessions_.begin();
|
||||
}
|
||||
}
|
||||
query->debug(PSTRING() << get_name() << ": send to proxy #" << pos);
|
||||
// query->debug(PSTRING() << get_name() << ": send to proxy #" << pos);
|
||||
sessions_[pos].queries_count++;
|
||||
send_closure(sessions_[pos].proxy, &SessionProxy::send, std::move(query));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user