Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protocols/kad/query/peers/closest: Make at_capacity use max #1548

Merged
merged 5 commits into from
Apr 16, 2020

Commits on Apr 14, 2020

  1. Configuration menu
    Copy the full SHA
    55f6566 View commit details
    Browse the repository at this point in the history
  2. protocols/kad/query/peers/closest: Make at_capacity use max

    When not making progress for `parallelism` time a `ClosestPeersIter`
    becomes `State::Stalled`. When stalled an iterator is allowed to make
    more parallel requests up to `num_results`. If `num_results` is smaller
    than `parallelism` make sure to still allow up to `parallelism` requests
    in-flight.
    mxinden committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    b4f7641 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f38d0c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. protocols/kad/query/closest: Remove one and prop the other

    Remove in-depth test and make smaller test property based.
    mxinden committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    49b908c View commit details
    Browse the repository at this point in the history
  2. protocols/kad/src/query/peers/closest.rs: Apply suggestion

    Co-Authored-By: Roman Borschel <romanb@users.noreply.github.com>
    mxinden and romanb committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    a5246e9 View commit details
    Browse the repository at this point in the history