Skip to content

Commit

Permalink
bump edge limit for ingoing nodes to 128 in SimilarHostsFinder
Browse files Browse the repository at this point in the history
now that nofollow links are filtered, we need to fetch more edges from the webgraph to have good enough accuracy on /explore page
  • Loading branch information
mikkeldenker committed Oct 5, 2024
1 parent edf7a2f commit 847c142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/similar_hosts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl<G: WebgraphGranularity> SimilarHostsFinder<G> {

let in_edges = self
.webgraph
.batch_raw_ingoing_edges(&nodes, EdgeLimit::Limit(64))
.batch_raw_ingoing_edges(&nodes, EdgeLimit::Limit(128))
.await
.unwrap_or_default();

Expand Down

0 comments on commit 847c142

Please sign in to comment.