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:
parent
f985c58d8e
commit
016edcf437
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue