second ==> minute

This commit is contained in:
Michael Snoyman 2015-01-05 17:18:47 +02:00
parent cb9526b2fd
commit 241d5d72e2

View File

@ -148,14 +148,15 @@ renderLTSVer lts = fpFromText $ concat
, ".yaml" , ".yaml"
] ]
-- | Just print a message saying "still alive" every second, to appease Travis. -- | Just print a message saying "still alive" every minute, to appease Travis.
stillAlive :: IO () -> IO () stillAlive :: IO () -> IO ()
stillAlive inner = stillAlive inner =
withAsync printer $ const inner withAsync (printer 1) $ const inner
where where
printer = forever $ do printer i = forever $ do
threadDelay 1000000 threadDelay 60000000
putStrLn "Still alive" putStrLn $ "Still alive: " ++ tshow i
printer $! i + 1
-- | Generate and check a new build plan, but do not execute it. -- | Generate and check a new build plan, but do not execute it.
-- --