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

fix: correctly track CPLs of never refreshed buckets #71

Merged
merged 2 commits into from
Apr 6, 2020

Commits on Apr 5, 2020

  1. fix: correctly track CPLs of never refreshed buckets

    To determine how many buckets we should refresh, we:
    
    1. Look at the max bucket.
    2. Look at the peer with the greatest common prefix in the max bucket.
    3. Return the "last refresh" times for all buckets between 0 and `min(maxPeer, 15)`
    
    BREAKING: this returns a slice of times instead of CplRefresh objects because we
    want to refresh _all_ buckets between 0 and the max CPL.
    Stebalien committed Apr 5, 2020
    Configuration menu
    Copy the full SHA
    7c961a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. address comments

    Stebalien committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    844420e View commit details
    Browse the repository at this point in the history