Skip to content

Commit 93a9dc1

Browse files
authored
Increase timeout to find a dSYM in macos DownloadObjectAndSymbolFile (#2072)
With a large dSYM over a slow home connection, the two minute timeout would sometimes be exceeded, and we haven't seen instances of a long timeout causing people any problems, so we're bumping it up. 640 seconds ought to be enough for anyone. <rdar://problem/67759526> (cherry picked from commit af5504e)
1 parent e848f2b commit 93a9dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Symbol/LocateSymbolFileMacOSX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ bool Symbols::DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
621621
&signo, // Signal int *
622622
&command_output, // Command output
623623
std::chrono::seconds(
624-
120), // Large timeout to allow for long dsym download times
624+
640), // Large timeout to allow for long dsym download times
625625
false); // Don't run in a shell (we don't need shell expansion)
626626
if (error.Success() && exit_status == 0 && !command_output.empty()) {
627627
CFCData data(CFDataCreateWithBytesNoCopy(

0 commit comments

Comments
 (0)