This commit is contained in:
Jamie V 2025-02-05 13:42:02 -08:00
parent 5e5386d351
commit 4dbf5c19f3

View File

@ -158,6 +158,8 @@ export default class ObjectAPI {
*/
get(identifier, abortSignal, forceRemote = false) {
let keystring = this.#makeKeyString(identifier);
console.log('openmct get', keystring);
const now = new Date();
if (!forceRemote) {
if (this.cache[keystring] !== undefined) {
@ -201,6 +203,8 @@ export default class ObjectAPI {
this.destroyMutable(mutableDomainObject);
}
console.log('openmct get result', keystring, (new Date() - now) / 1000);
return domainObject;
})
.catch((error) => {