commit | d1d734f11946b9392c95332aaef1dd97d3ddde18 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Thu Apr 30 12:25:40 2020 +0800 |
committer | Luke Huang <huangluke@google.com> | Fri May 01 16:47:41 2020 +0800 |
tree | 37f41554d88a2564f44675128cf8e10a611fdeac | |
parent | a893556b4e2e9c3128e0384357487310acb48204 [diff] |
Improve query sleep time for getaddrinfo parallel lookup Move the sleep function behind cache checking to avoid unnecessary cost. Bug: 155046588 Test: atest Change-Id: I0e4fe4da5b56375589ef4b617819bfaae8abcf33
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.