Skip to content
Snippets Groups Projects
  • Vladimir Davydov's avatar
    382568b1
    Introduce checkpoint schedule module · 382568b1
    Vladimir Davydov authored
    This is a very simple module that incorporates the logic for calculating
    the time of the next scheduled checkpoint given the configured interval
    between checkpoints. It doesn't have any dependencies, which allows to
    cover it with a unit test. It will be used by the checkpoint daemon once
    we rewrite it in C. Rationale: in future we might want to introduce more
    complex rules for scheduling checkpoints (cron-like may be) and it will
    be really nice to have this logic neatly separated and tested.
    382568b1
    History
    Introduce checkpoint schedule module
    Vladimir Davydov authored
    This is a very simple module that incorporates the logic for calculating
    the time of the next scheduled checkpoint given the configured interval
    between checkpoints. It doesn't have any dependencies, which allows to
    cover it with a unit test. It will be used by the checkpoint daemon once
    we rewrite it in C. Rationale: in future we might want to introduce more
    complex rules for scheduling checkpoints (cron-like may be) and it will
    be really nice to have this logic neatly separated and tested.