Skip to content
Snippets Groups Projects
Commit b80758ea authored by vjrj's avatar vjrj
Browse files

Trying to not clear working nodes (wip)

parent 9173060c
No related branches found
No related tags found
No related merge requests found
......@@ -40,10 +40,15 @@ class NodeManager {
for (final Node node in nodes) node.url: node.errors
};
/* final List<Node> workingNodes = nodes.where((Node node) {
return node.errors == 0;
}).toList(); */
nodes.clear();
final Set<Node> uniqueNodes = <Node>{};
// uniqueNodes.addAll(workingNodes);
for (final Node newNode in newNodes) {
Node updatedNode = newNode;
if (existingNodesMap.containsKey(newNode.url)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment