List fetching
This commit is contained in:
parent
5e86dca03f
commit
425cbbe909
@ -33,7 +33,6 @@ class List {
|
||||
const current = _.differenceWith(this._currentBatch, this._items, Node.equals);
|
||||
const others = _.differenceWith(other.items, this._items, Node.equals);
|
||||
const final = _.unionWith(current, others, Node.equals);
|
||||
// const final = _.unionWith(others, current, Node.equals);
|
||||
this._items = this._items.concat(final);
|
||||
this._currentBatch = [];
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ class OrbitList extends List {
|
||||
}
|
||||
};
|
||||
|
||||
// other.items.forEach((e) => e.heads.forEach(fetchRecursive));
|
||||
other.items.forEach((e) => e.heads.forEach(fetchRecursive));
|
||||
// console.log("--> Fetched", MaxHistory, "items from the history\n");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user