revert size checking

This commit is contained in:
Scott Bell 2024-10-17 16:34:42 +02:00
parent c9843481e9
commit 6ca6a4cd00

View File

@ -110,11 +110,12 @@ export default class HistoricalTelemetryProvider {
async #loadTelemetryCollections() {
await Promise.all(
Object.entries(this.#telemetryObjects).map(async ([keystring, telemetryObject]) => {
// delete size as we need to scan the whole time bounds
delete this.#telemetryOptions.size;
// clone telemetry options without size as we need to load all data
const telemetryOptionsWithoutSize = { ...this.#telemetryOptions };
delete telemetryOptionsWithoutSize.size;
const telemetryCollection = this.#openmct.telemetry.requestCollection(
telemetryObject,
this.#telemetryOptions
telemetryOptionsWithoutSize
);
await telemetryCollection.load();
this.#telemetryCollections[keystring] = telemetryCollection;