From 02026b4f8961c27bf153cc93294cb4c60d313897 Mon Sep 17 00:00:00 2001 From: Jamie V Date: Wed, 26 Mar 2025 12:15:28 -0700 Subject: [PATCH] remove debuggin --- src/api/objects/ObjectAPI.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/api/objects/ObjectAPI.js b/src/api/objects/ObjectAPI.js index 265722005f..06926e357e 100644 --- a/src/api/objects/ObjectAPI.js +++ b/src/api/objects/ObjectAPI.js @@ -31,11 +31,6 @@ import RootObjectProvider from './RootObjectProvider.js'; import RootRegistry from './RootRegistry.js'; import Transaction from './Transaction.js'; -const requests = {}; -window.showRequests = () => { - console.log(requests); -} - /** * Uniquely identifies a domain object. * @typedef {Object} Identifier @@ -163,12 +158,6 @@ export default class ObjectAPI { */ get(identifier, abortSignal, forceRemote = false) { let keystring = this.#makeKeyString(identifier); - console.log('openmct get', keystring); - const now = new Date(); - if (!requests[keystring]) { - requests[keystring] = 0; - } - requests[keystring]++; if (!forceRemote) { if (this.cache[keystring] !== undefined) { @@ -212,8 +201,6 @@ export default class ObjectAPI { this.destroyMutable(mutableDomainObject); } - console.log('openmct get result', keystring, (new Date() - now) / 1000); - return domainObject; }) .catch((error) => {