commit | 5b30e710dcd4ea0dc1d92c7c7c167f2c430b6f12 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri May 01 11:09:42 2020 +0000 |
committer | Luke Huang <huangluke@google.com> | Fri May 01 12:03:34 2020 +0000 |
tree | 50d4f5947db3dcbfee0fe1ba2023a9835c20697b | |
parent | b8012f7861822fa272b81345e3393151a480121d [diff] |
Improve query sleep time for getaddrinfo parallel lookup Move the sleep function behind cache checking to avoid unnecessary cost. Bug: 155046588 Test: atest Merged-In: I0e4fe4da5b56375589ef4b617819bfaae8abcf33 Change-Id: Ic62383d52d76ba9dec79d9745a6e7b7a79cd35de (cherry picked from commit 5e97b8add248560bbeb12b50e7c064fc8c24b3e0)
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.