dsh-vscode-mode 0.15.4 → 0.15.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -20598,7 +20598,8 @@ function createSvnRpc(deps) {
20598
20598
  };
20599
20599
  try {
20600
20600
  const states = [];
20601
- for (const path of paths) states.push(await readConflict(scope.cwd, scope.root, path));
20601
+ const BATCH = 4;
20602
+ for (let start = 0; start < paths.length; start += BATCH) states.push(...await Promise.all(paths.slice(start, start + BATCH).map((path) => readConflict(scope.cwd, scope.root, path))));
20602
20603
  return {
20603
20604
  ok: true,
20604
20605
  states