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

Implement watchlist cache and runtime cache #109

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Dec 23, 2019

  1. Implement watchlist cache and runtime cache

    A watchlist cache is implemented. The watchlist is a list of immature
    timestamp files that should be upgraded at a later time. When a file is
    timestamped, its file path is added to the watchlist. The file is
    removed from the watchlis tonce it has been successfully pgraded.
    
    Immature timestamps no longer immediately exits the program with error,
    and instead an error is printed to stderr followed by a continuance of
    the program until the very end when the program exits with exit(1).
    
    A runtime cache is implemented. It is based on the premise that it is
    unlikely that a timestamp will be upgraded in the time that it takes to
    run the whole command, so the calendar servers will only be checked once
    per each new commitment. This is particularly useful for bulk upgrading
    of timestamps. If "immediate exit" was still implemented, this would not
    be possible. Without a runtime cache, checking each timestamp against
    each calendar server-- even with the same root commitment-- would be
    unbearably slow.
    kanzure committed Dec 23, 2019
    Configuration menu
    Copy the full SHA
    261fd61 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Configuration menu
    Copy the full SHA
    833d05b View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2020

  1. fix typo in comment

    Co-authored-by: Peter Todd <[email protected]>
    kanzure and petertodd authored Sep 7, 2020
    Configuration menu
    Copy the full SHA
    a9c245d View commit details
    Browse the repository at this point in the history