From c131e8bd6d0a03a9115785e7158697efeb69fd4e Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Fri, 23 Oct 2020 20:54:07 +0200 Subject: [PATCH] add logging when running into event cap, https://github.com/microsoft/vscode/issues/108292 --- src/vs/workbench/api/common/extHostDecorations.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/api/common/extHostDecorations.ts b/src/vs/workbench/api/common/extHostDecorations.ts index 70e264c24cd..b108fe4f6b1 100644 --- a/src/vs/workbench/api/common/extHostDecorations.ts +++ b/src/vs/workbench/api/common/extHostDecorations.ts @@ -55,6 +55,7 @@ export class ExtHostDecorations implements ExtHostDecorationsShape { // too many resources per event. pick one resource per folder, starting // with parent folders + this._logService.warn('[Decorations] CAPPING events from decorations provider', extensionId.value, array.length); const mapped = array.map(uri => ({ uri, rank: count(uri.path, '/') })); const groups = groupBy(mapped, (a, b) => a.rank - b.rank); let picked: URI[] = [];