Increase AdbClient read timeout
authorPavel Labath <labath@google.com>
Tue, 31 Oct 2017 12:27:46 +0000 (12:27 +0000)
committerPavel Labath <labath@google.com>
Tue, 31 Oct 2017 12:27:46 +0000 (12:27 +0000)
The previous value was not sufficient for Pixel 2 phones. One would have
hoped that the newer phones are faster, but that does not seem to be the
case here.

llvm-svn: 316993

lldb/source/Plugins/Platform/Android/AdbClient.cpp

index d3bcee6..6e15eb2 100644 (file)
@@ -46,7 +46,7 @@ using namespace std::chrono;
 
 namespace {
 
-const seconds kReadTimeout(12);
+const seconds kReadTimeout(20);
 const char *kOKAY = "OKAY";
 const char *kFAIL = "FAIL";
 const char *kDATA = "DATA";