commit | dd3c86d4031e7709068bfef5add345066032b24c | [log] [tgz] |
---|---|---|
author | Yuwei Huang <yuweih@chromium.org> | Thu Jun 27 01:49:46 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 27 01:49:46 2019 |
tree | 100384dbf156f0251aa26a354bcdfc78e4cbd28e | |
parent | 5da28401980cc3fef4827381b0a7d42e8e8f45ed [diff] |
[remoting][host] Don't send host offline reason for host deletion When the host receives a deletion notification from directory, it tries to send an invalid host ID offline reason to directory before shutting itself down. This is likely to fail since the backend might have already unregistered the robot account. Then the host will keep trying to send the offline reason a few times until it eventually gives up. Sending offline reason for host deleted on the directory is unnecessary and will delay the host shutdown process, so this CL prevents the host from sending the offline reason in this case. Bug: 968859 Change-Id: I2de39b5426f52c3e3db05af92e00ec68a4dd9206 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678700 Commit-Queue: Joe Downing <joedow@chromium.org> Reviewed-by: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#672758}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .