From a6e5b5bd418eb8ddd335280d08d5dc4ee15cf2c6 Mon Sep 17 00:00:00 2001 From: Jinwoo Hong <73622457+Jinwoo-H@users.noreply.github.com> Date: Wed, 4 Nov 2026 23:30:59 -0500 Subject: [PATCH] fix(combined-diff): load up to three diff sections at once (STA-12716) (#38265) Load up to three combined-diff sections at once instead of one (STA-12716). --- .../load-sections/combined-diff-load-scheduler.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-load-scheduler.ts b/src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-load-scheduler.ts index 36c3b8da2ac..ed993476c8d 100644 --- a/src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-load-scheduler.ts +++ b/src/renderer/src/components/editor/combined-diff/load-sections/combined-diff-load-scheduler.ts @@ -12,8 +12,7 @@ export function createCombinedDiffLoadScheduler({ getRenderedIndices, isSectionExpanded = () => true, schedule = (callback) => queueMicrotask(callback), - // Section completion mounts Monaco; serialize by default to avoid stacking large-diff render work. - maxConcurrent = 1 + maxConcurrent = 3 }: { loadSection: (index: number) => Promise getRenderedIndices?: () => ReadonlySet