mirror of
https://github.com/nasa/openmct.git
synced 2025-06-06 01:11:41 +00:00
debug
This commit is contained in:
parent
7ebcba7336
commit
64c149b7ae
@ -162,14 +162,13 @@ export default class ObjectAPI {
|
||||
* has been saved, or be rejected if it cannot be saved
|
||||
*/
|
||||
get(identifier, abortSignal, forceRemote = false) {
|
||||
if (!requests[identifier]) {
|
||||
requests[identifier] = 0;
|
||||
}
|
||||
requests[identifier]++;
|
||||
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user