Only update every 10 minutes

This commit is contained in:
Michael Snoyman 2016-09-26 08:54:46 +03:00
parent 537aea35fe
commit ccefcd3445

View File

@ -19,7 +19,7 @@ getMirrorStatusR = do
mkUpdateMirrorStatus :: IO (IO (Status, Widget))
mkUpdateMirrorStatus = mkAutoUpdate defaultUpdateSettings
{ updateAction = go
, updateFreq = 1000 * 1000 * 60
, updateFreq = 1000 * 1000 * 60 * 10 -- every 10 minutes
}
where
go = do