================
@@ -124,7 +124,8 @@ TryCreateAutoSummaryForContainer(lldb::SBValue &v) {
     return std::nullopt;
   /// As this operation can be potentially slow, we limit the total time spent
   /// fetching children to a few ms.
-  const auto max_evaluation_time = std::chrono::milliseconds(10);
+  constexpr auto max_evaluation_time =
+      std::chrono::milliseconds(lldb_dap::k_evaluate_timeout_ms / 10);
----------------
ashgti wrote:

Why the  `/ 10`? Should that be factored into `k_evaulate_timeout_ms`?

https://github.com/llvm/llvm-project/pull/214746
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to