From 016edcf4371782546a94747d64ef770ad12e5f79 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 17 Aug 2024 15:59:07 -0400 Subject: [PATCH] adjust countdown number for RepoSize update message Benchmarking a git-annex branch with half a million files changed, it takes about 1 minute to update the RepoSizes. So this will display the message after a few seconds. --- Annex/RepoSize.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annex/RepoSize.hs b/Annex/RepoSize.hs index bdd446460c..d7c0f0a436 100644 --- a/Annex/RepoSize.hs +++ b/Annex/RepoSize.hs @@ -123,7 +123,7 @@ diffBranchRepoSizes quiet oldsizemap oldbranchsha newbranchsha = do feedtid <- liftIO $ async $ do forM_ l $ feedpairs feeder closer - newsizemap <- readpairs 500000 reader oldsizemap Nothing + newsizemap <- readpairs 100000 reader oldsizemap Nothing liftIO $ wait feedtid ifM (liftIO cleanup) ( return (newsizemap, newbranchsha) -- 2.30.2