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

Add time period offsets to calculation #5

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

Commits on Jul 31, 2012

  1. Add time period offsets to calculation

    For each period we want to include the previous period's duration in
    the calculation for when to delete snapshots.
    
    For example, if we are saving 24 hours and 3 days, we don't want the
    calculation for days to just be 3 days ago from the current time, we
    want it to be 3 days ago from 24 hours ago.
    
    To accomplish this, an offset has been added to the formula to include
    the duration of the previous periods along with the current period's
    duration.
    xombiemp committed Jul 31, 2012
    Configuration menu
    Copy the full SHA
    27bf47a View commit details
    Browse the repository at this point in the history