Merge pull request #24301 from tchaikov/wip-async-connect-timeout

msg/async: keep connection alive only actually sending

Reviewed-by: Ricardo Dias <rdias@suse.com>
This commit is contained in:
Kefu Chai 2018-09-30 00:09:33 +08:00 committed by GitHub
commit 816f7aff2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -513,7 +513,6 @@ int AsyncConnection::send_message(Message *m)
return 0; return 0;
} }
last_active = ceph::coarse_mono_clock::now();
// we don't want to consider local message here, it's too lightweight which // we don't want to consider local message here, it's too lightweight which
// may disturb users // may disturb users
logger->inc(l_msgr_send_messages); logger->inc(l_msgr_send_messages);