Closed benbjohnson closed 10 years ago
This pull request adds Peer.LastActivity() to return the last time that a response was received from the peer. This is needed for auto-demotion of peers on https://github.com/coreos/etcd/pull/582.
Peer.LastActivity()
/cc @xiangli-cmu @philips
Just hit this in the proxy pr, reading now.
lgtm! this seems like a valuable feature.
This pull request adds
Peer.LastActivity()
to return the last time that a response was received from the peer. This is needed for auto-demotion of peers on https://github.com/coreos/etcd/pull/582./cc @xiangli-cmu @philips