[Lldb-commits] [lldb] r316993 - Increase AdbClient read timeout

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 31 05:27:47 PDT 2017


Author: labath
Date: Tue Oct 31 05:27:46 2017
New Revision: 316993

URL: http://llvm.org/viewvc/llvm-project?rev=316993&view=rev
Log:
Increase AdbClient read timeout

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.

Modified:
    lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp

Modified: lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp?rev=316993&r1=316992&r2=316993&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp Tue Oct 31 05:27:46 2017
@@ -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";




More information about the lldb-commits mailing list