From 1febe1caa9f07adb43c87d13676ca2e5cc485708 Mon Sep 17 00:00:00 2001 From: Kean Mariotti Date: Tue, 1 Nov 2022 13:06:38 +0000 Subject: [PATCH] Make CollectTracesComponent more responsive Test: collect traces through ADB proxy and check that they are loaded more quickly Change-Id: Ibecf18b354d702f6b956e24a95dbc9ceaaae9088 --- .../winscope-ng/src/app/components/collect_traces.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winscope-ng/src/app/components/collect_traces.component.ts b/tools/winscope-ng/src/app/components/collect_traces.component.ts index 76e890e0d..43b65b8a6 100644 --- a/tools/winscope-ng/src/app/components/collect_traces.component.ts +++ b/tools/winscope-ng/src/app/components/collect_traces.component.ts @@ -198,7 +198,7 @@ export class CollectTracesComponent implements OnInit, OnDestroy { console.log("end tracing"); await this.connect.endTrace(); while (!setTraces.dataReady) { - await this.waitForData(1000); + await this.waitForData(100); } await this.loadFiles(); }