mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
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).
This commit is contained in:
+1
-2
@@ -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<void>
|
||||
getRenderedIndices?: () => ReadonlySet<number>
|
||||
|
||||
Reference in New Issue
Block a user