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.
This commit is contained in:
Joey Hess 2024-08-17 15:59:07 -04:00
parent f985c58d8e
commit 016edcf437
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -123,7 +123,7 @@ diffBranchRepoSizes quiet oldsizemap oldbranchsha newbranchsha = do
feedtid <- liftIO $ async $ do feedtid <- liftIO $ async $ do
forM_ l $ feedpairs feeder forM_ l $ feedpairs feeder
closer closer
newsizemap <- readpairs 500000 reader oldsizemap Nothing newsizemap <- readpairs 100000 reader oldsizemap Nothing
liftIO $ wait feedtid liftIO $ wait feedtid
ifM (liftIO cleanup) ifM (liftIO cleanup)
( return (newsizemap, newbranchsha) ( return (newsizemap, newbranchsha)