Increase timeout in Symbols::DownloadObjectAndSymbolFile

from 30 seconds to 120 seconds.  We've seen cases where
this symbol lookup can exceed 30 seconds for people
working remotely.

<rdar://problem/48460476> 

llvm-svn: 355169
This commit is contained in:
Jason Molenda
2019-03-01 03:24:59 +00:00
parent 6112f37e75
commit e772052edf

View File

@@ -591,7 +591,7 @@ bool Symbols::DownloadObjectAndSymbolFile(ModuleSpec &module_spec,
&signo, // Signal int *
&command_output, // Command output
std::chrono::seconds(
30), // Large timeout to allow for long dsym download times
120), // Large timeout to allow for long dsym download times
false); // Don't run in a shell (we don't need shell expansion)
if (error.Success() && exit_status == 0 && !command_output.empty()) {
CFCData data(CFDataCreateWithBytesNoCopy(