From 293ec1f204cd64a6ce6b816d6a66d1848a886db0 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 16 Jan 2023 16:36:00 +0000 Subject: [PATCH] Add debounce to variant-analysis-selected-repository-ids --- .../ql-vscode/src/view/variant-analysis/VariantAnalysis.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/ql-vscode/src/view/variant-analysis/VariantAnalysis.tsx b/extensions/ql-vscode/src/view/variant-analysis/VariantAnalysis.tsx index 6886f304f..55c564d10 100644 --- a/extensions/ql-vscode/src/view/variant-analysis/VariantAnalysis.tsx +++ b/extensions/ql-vscode/src/view/variant-analysis/VariantAnalysis.tsx @@ -64,6 +64,9 @@ export function VariantAnalysis({ useTelemetryOnChange( selectedRepositoryIds, "variant-analysis-selected-repository-ids", + { + debounceTimeoutMillis: 1000, + }, ); const [filterSortState, setFilterSortState] = useState( defaultFilterSortState,