Skip to content

Commit

Permalink
change count_links bandwidth note
Browse files Browse the repository at this point in the history
Co-authored-by: mattyg <[email protected]>
  • Loading branch information
pdaoust and mattyg authored Dec 16, 2024
1 parent f6d07d4 commit b4366e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/build/links-paths-and-anchors.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ let number_of_reviews_written_by_me_in_last_month = count_links(
```

!!! info Links are counted locally
Currently `count_links` retrieves all links from the remote peer, then counts them locally. We're planning on changing this behavior so it counts links on the remote peer and sends the count, to save network traffic like you might expect.
Currently `count_links` retrieves all link hashes from the remote peer, then counts them locally. So it is less network traffic than a `get_links` request, but more network traffic than just sending an integer.
!!!

## Anchors and paths
Expand Down

0 comments on commit b4366e8

Please sign in to comment.