[Lldb-commits] [lldb] [lldb] Increase MAX_ATTEMPTS in connect_to_debug_monitor() (PR #118222)
Dmitry Vasilyev via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 2 03:18:40 PST 2024
slydiman wrote:
Updated the patch:
Added an exponential algorithm for the sleep time. Reduced MAX_ATTEMPTS to 16.
The sleep time will be 3, 3.6, 4.3, ..., 38, 46.
The total sleep time is 262 + 0.5*MAX_CONNECT_ATTEMPTS*MAX_ATTEMPTS = 342.
Note the timeout is 600, so the rest time must be enough.
Increased the port range (12000..20000).
https://github.com/llvm/llvm-project/pull/118222
More information about the lldb-commits
mailing list