summaryrefslogtreecommitdiff
path: root/CHANGELOG
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-13 02:48:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-13 02:56:16 -0400
commitc31ddeda84542414dd58e03473a23a6de8890390 (patch)
tree2bbb3d4ba929ed9b4f9237f392e92a1b9cf05f8a /CHANGELOG
parent12dbb9d1d0162d5417805503525f30faf9aa2fc2 (diff)
optimise link staging at startup
Now it starts really, really fast! Down from 15 minutes or so on my big tree to around 1 minute. The trick is to remember the last time the daemon was running. Links with a ctime from before that point don't need to be restaged on startup (as long as they are correct), since the old daemon would have handled them already. We also assume that if the daemon has never run before, any links that already exist are good. The pre-commit hook fixes links, so this should be a safe assumption. Adds another MVar holding a DaemonStatus data structure. Also allowed getting rid of the Annex.Fast hack. This data structure will probably grow a lot of details about the daemon's status, that will later be used by the webapp's UI. The code to actually track when the daemon was last running is not written yet. It's 3 am.
Diffstat (limited to 'CHANGELOG')
0 files changed, 0 insertions, 0 deletions