Skip to content

Commit 2a109b4

Browse files
committed
Merged PR 688231: Add ChooseWorkerIpc to the list of ChooseWorker dispatchers
When we do not find an available worker for an IPC pips, we were inlining ChooseWorkerIpc step and causing a stackoverflow exception. We now add ChooseWorkerIpc to the list of chooseworker dispatchers to avoid inlining.
1 parent 09af602 commit 2a109b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Public/Src/Engine/Scheduler/WorkDispatcher/DispatcherKind.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static class DispatcherKindHelpers
9292
/// </summary>
9393
public static bool IsChooseWorker(this DispatcherKind kind)
9494
{
95-
return kind == DispatcherKind.ChooseWorkerLight || kind == DispatcherKind.ChooseWorkerCacheLookup || kind == DispatcherKind.ChooseWorkerCpu;
95+
return kind == DispatcherKind.ChooseWorkerLight || kind == DispatcherKind.ChooseWorkerCacheLookup || kind == DispatcherKind.ChooseWorkerCpu || kind == DispatcherKind.ChooseWorkerIpc;
9696
}
9797

9898
}

0 commit comments

Comments
 (0)