Skip to content

Commit 087359a

Browse files
committed
Merged PR 693279: Increase ProcessDumper default depth to 20
This is a short term mitigation to allow some builds with timeouts to be investigated where the process tree depth is greater than 20. Related work items: #2015851
1 parent 8ec2777 commit 087359a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Public/Src/Engine/Processes/ProcessDumper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public static bool TryDumpProcess(IntPtr processHandle, int processId, string du
155155
/// <summary>
156156
/// Attempts to dump all processes in a process tree. Any files existing in the dump directory will be deleted.
157157
/// </summary>
158-
public static bool TryDumpProcessAndChildren(int parentProcessId, string dumpDirectory, out Exception primaryDumpCreationException, int maxTreeDepth = 10, Action<string> debugLogger = null)
158+
public static bool TryDumpProcessAndChildren(int parentProcessId, string dumpDirectory, out Exception primaryDumpCreationException, int maxTreeDepth = 20, Action<string> debugLogger = null)
159159
{
160160
if (OperatingSystemHelper.IsMacOS)
161161
{

0 commit comments

Comments
 (0)