File tree 2 files changed +15
-1
lines changed
packages/protocol/src/common
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,10 @@ export abstract class Batch<T, A> {
158
158
private readonly maxCount : number = 100 ,
159
159
/**
160
160
* Flush after not receiving more requests for this amount of time.
161
+ * This is pretty low by default so essentially we just end up batching
162
+ * requests that are all made at the same time.
161
163
*/
162
- private readonly idleTime : number = 100 ,
164
+ private readonly idleTime : number = 1 ,
163
165
) { }
164
166
165
167
public add = ( args : A ) : Promise < T > => {
Original file line number Diff line number Diff line change @@ -953,6 +953,18 @@ index 74dad64..7bc591a 100644
953
953
+ this.handle.stdout.once('data', () => this.retry.recover());
954
954
@@ -110,0 +113 @@ export class OutOfProcessWin32FolderWatcher {
955
955
+ return this.retry.run();
956
+ diff --git a/src/vs/workbench/services/files2/node/diskFileSystemProvider.ts b/src/vs/workbench/services/files2/node/diskFileSystemProvider.ts
957
+ index 18edf56..8e5b395 100644
958
+ --- a/src/vs/workbench/services/files2/node/diskFileSystemProvider.ts
959
+ +++ b/src/vs/workbench/services/files2/node/diskFileSystemProvider.ts
960
+ @@ -79,2 +79,2 @@ export class DiskFileSystemProvider extends Disposable implements IFileSystemPro
961
+ - for (let i = 0; i < children.length; i++) {
962
+ - const child = children[i];
963
+ + await Promise.all(children.map(async (child) => { // for (let i = 0; i < children.length; i++) {
964
+ + // const child = children[i];
965
+ @@ -88 +88 @@ export class DiskFileSystemProvider extends Disposable implements IFileSystemPro
966
+ - }
967
+ + })); // }
956
968
diff --git a/src/vs/workbench/services/heap/node/heap.ts b/src/vs/workbench/services/heap/node/heap.ts
957
969
index 8f627ba..9a795eb 100644
958
970
--- a/src/vs/workbench/services/heap/node/heap.ts
You can’t perform that action at this time.
0 commit comments