]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/ProtocolV2: cast usec to double when converting from nsec
authorKefu Chai <tchaikov@gmail.com>
Wed, 6 Oct 2021 22:38:13 +0000 (06:38 +0800)
committerKefu Chai <tchaikov@gmail.com>
Thu, 7 Oct 2021 13:55:06 +0000 (21:55 +0800)
commit8af0d76ca35fbc1d0ac13cd56180256019ff26c3
tree9c610a18637a13c6ae651ff9ee7a5c27cb3ba8b0
parentb2e806eedbe394e5012c4b983c69079ddbac669e
msg/async/ProtocolV2: cast usec to double when converting from nsec

to be consistent with the same logic in V1, and more importantly, it is
more correct.

the change was suggested by Ilya Dryomov <idryomov@redhat.com>.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/msg/async/ProtocolV2.cc