Skip to content

Commit 68089c3

Browse files
author
Rachel Macfarlane
committed
Fix microsoft#106116, collectWorkspaceStats() can hang
1 parent 4b4f335 commit 68089c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/platform/diagnostics/node/diagnosticsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export async function collectWorkspaceStats(folder: string, filter: string[]): P
8686
return;
8787
}
8888

89-
if (token.count > MAX_FILES) {
89+
if (token.count >= MAX_FILES) {
9090
token.count += files.length;
9191
token.maxReached = true;
9292
resolve();

0 commit comments

Comments
 (0)