Make CollectTracesComponent more responsive

Test: collect traces through ADB proxy and check that they are loaded more quickly
Change-Id: Ibecf18b354d702f6b956e24a95dbc9ceaaae9088
This commit is contained in:
Kean Mariotti
2022-11-01 13:06:38 +00:00
parent 32c8f58390
commit 1febe1caa9

View File

@@ -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();
}