Skip to content

Commit

Permalink
removing buggy sources attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
goulven authored and goulven committed Oct 28, 2024
1 parent fe1d98d commit 41e86a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void onProduct(Product data, VerticalConfig vConf) throws AggregationSkip
data.getAttributes().getAll().remove(e);
});

// TODO(p3,design) : Some kind of legacy bug, some attributes have to many sources. Hope this is a done bug..
// TODO(p3,design) : Remove, this is some kind of legacy bug, some attributes have uncoherent and too many sources. Hope this is a done bug..
data.getAttributes().getAll().keySet().removeIf(e-> data.getAttributes().getAll().get(e).sourcesCount() > 10);


Expand Down

0 comments on commit 41e86a4

Please sign in to comment.