commit | c243d714a548c079e1ef53ef62e1912bb4af625a | [log] [tgz] |
---|---|---|
author | Erik Anderson <[email protected]> | Fri Jul 30 00:13:41 2021 |
committer | Chromium LUCI CQ <[email protected]> | Fri Jul 30 00:13:41 2021 |
tree | d9df92755c0093a2f071c4b9b87a2b76615161b8 | |
parent | 5c9c70ccac80909bcde3f1a9ab887c582305db2f [diff] |
Revert "DnsConfigServiceWin::ConfigReader: Add cap on the number of retries" This reverts commit 58137339ca8bef42bbdc07a01078d294ef9f5a23. Reason for revert: the new SerialWorkerTest tests are showing flakiness as reported in bug 1234162. Original change's description: > DnsConfigServiceWin::ConfigReader: Add cap on the number of retries > > Add retry logic to SerialWorker and remove the existing retry logic in > DnsConfigServiceWin::ConfigReader in favor of using the SerialWorker > functionality with new logic to cap the number of retries. > > The DnsConfigServiceWin::ConfigReader retry logic was added in case of > race conditions between getting registry change notifications and > reading out DNS configuration from the OS. > > When in an offline state, no DNS servers are available. Prior to this > change, the ConfigReader wakes up every 5 seconds to try again which has > a negative impact on performance and battery life since the CPU can't > stay in a low power state. After this change, we will retry 3 times with > a base delay of 5 seconds for the first retry and a 2x exponential > backoff for each additional retry. > > If a state change is seen (e.g. via the registry watchers and hosts file > watcher), the retry count is reset. > > Bug: 1225838 > Change-Id: Idf801b1e2934649021df08dbfe9569fd81e7ae84 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3036528 > Commit-Queue: Erik Anderson <[email protected]> > Reviewed-by: Eric Orth <[email protected]> > Cr-Commit-Position: refs/heads/master@{#905004} Bug: 1225838 Change-Id: Ia6f593e6965039ab173110ae20e4024ad3cd169b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3058803 Commit-Queue: Erik Anderson <[email protected]> Commit-Queue: Rubber Stamper <[email protected]> Auto-Submit: Erik Anderson <[email protected]> Bot-Commit: Rubber Stamper <[email protected]> Reviewed-by: Eric Orth <[email protected]> Cr-Commit-Position: refs/heads/master@{#906930}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.