mirror of
https://github.com/nasa/openmct.git
synced 2025-03-18 10:05:22 +00:00
debug
This commit is contained in:
parent
5e5386d351
commit
4dbf5c19f3
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user