Skip to content

Conversation

@sanity
Copy link
Collaborator

@sanity sanity commented Nov 22, 2025

Do not review - this will be replaced in a subsequent PR

Problem

Connect forwarding retried the same neighbors without regard to recent attempts, leading to saturation and low degree in the soak; routing_candidates wasn’t exposed for filtering.

This change

  • Add a per-op recency map to connect forwarding; prefer least recently forwarded neighbors, missing recency wins, then use router selection.
  • Track recency on forwards and clear on acceptances; add routing_candidates helper to the connection manager to support the filter.

Testing

  • cargo check -p freenet (local).

@freenet freenet deleted a comment from claude bot Nov 23, 2025
@sanity sanity force-pushed the fix/transient-split-5b branch from bfd6f80 to dfdc7d7 Compare November 24, 2025 01:49
@sanity sanity enabled auto-merge November 24, 2025 01:49
@sanity sanity added this pull request to the merge queue Nov 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 24, 2025
@sanity sanity merged commit a56f9f7 into main Nov 24, 2025
11 checks passed
@sanity sanity deleted the fix/transient-split-5b branch November 24, 2025 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants