[Lldb-commits] [lldb] r268623 - Bump up timeout in AdbClient
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu May 5 04:25:58 PDT 2016
Author: labath
Date: Thu May 5 06:25:57 2016
New Revision: 268623
URL: http://llvm.org/viewvc/llvm-project?rev=268623&view=rev
Log:
Bump up timeout in AdbClient
now that the timeout actually means something, we see that sometimes adb is just really slow in
replying to the DONE packet during file push. Give it more time to complete.
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=268623&r1=268622&r2=268623&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Android/AdbClient.cpp Thu May 5 06:25:57 2016
@@ -34,7 +34,7 @@ using namespace lldb_private::platform_a
namespace {
-const std::chrono::seconds kReadTimeout(4);
+const std::chrono::seconds kReadTimeout(6);
const char * kOKAY = "OKAY";
const char * kFAIL = "FAIL";
const char * kDATA = "DATA";
More information about the lldb-commits
mailing list