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

Draft: Add RelaxModTimeRules config option #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 11, 2023

  1. Add RelaxModTimeRules config option

    With this setting, files are allowed to be outdated on the mirrors, for
    at most MaxOutdated minutes. The filesize check is also disabled for
    those files.
    
    Use-case: for a Debian-like distribution, the metadata (ie.  the
    directory /dists) are updated in-place, so we must give time for mirrors
    to sync, and then for mirrorbits to be aware of the changes.
    
    Otherwise, as soon as the source is updated and scanned, Mirrorbits will
    go in fallback mode for all the files under /dists, since at this point,
    either mirrors didn't sync yet, either they did but Mirrorbits is not
    aware of it yet (as the interval to scan mirrors is higher than the
    interval to scan the source).
    
    Cf. etix#85 for more details.
    elboulangero committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    f84ae85 View commit details
    Browse the repository at this point in the history