Skip to content

Commit 7dd5b0a

Browse files
committed
Decrease download update delay
3 seconds is a really long time to wait for downloads since a significant percentage of downloads will complete within 3 seconds. This changes the update delay to 500ms which should still give us good performance, but also make the download feel more responsive.
1 parent 94968f4 commit 7dd5b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/remote-queries/variant-analysis-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class VariantAnalysisManager
6868
implements VariantAnalysisViewManager<VariantAnalysisView>
6969
{
7070
private static readonly REPO_STATES_FILENAME = "repo_states.json";
71-
private static readonly DOWNLOAD_PERCENTAGE_UPDATE_DELAY_MS = 3000;
71+
private static readonly DOWNLOAD_PERCENTAGE_UPDATE_DELAY_MS = 500;
7272

7373
private readonly _onVariantAnalysisAdded = this.push(
7474
new EventEmitter<VariantAnalysis>(),

0 commit comments

Comments
 (0)