mirror of
https://github.com/nasa/openmct.git
synced 2025-04-13 22:23:13 +00:00
remove debuggin
This commit is contained in:
parent
64c149b7ae
commit
02026b4f89
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user