]> dgit.raspbian.org Git - git-annex.git/commit
err on the side of larger repository size
authorJoey Hess <joeyh@joeyh.name>
Wed, 28 Aug 2024 18:13:12 +0000 (14:13 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 28 Aug 2024 18:13:12 +0000 (14:13 -0400)
commitd876e06e35b15a1fdf9d7383d79cd010f5348521
treed37d96385dfa8808fe4a69471654d0323b2ca313
parentf89a1b8216adf7b044a8f53988796f5c1eb5eda7
err on the side of larger repository size

When a live update is removing a key, it might fail. So only count those
once they have succeeded. When a live update is adding a key, count it
immediately to avoid over-filling a repo.

This also makes the 1 minute delay between stale live changes checks
more defensible, because a stale live change can only cause us to err
more on the side of caution.
Annex/RepoSize.hs
Database/RepoSize.hs