mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Only update every 10 minutes
This commit is contained in:
parent
537aea35fe
commit
ccefcd3445
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user