Update hourly

This commit is contained in:
Jay McCarthy 2013-11-08 13:08:18 -07:00
parent acbc80edd9
commit e9e9ab651e
2 changed files with 2 additions and 2 deletions

View File

@ -415,7 +415,7 @@
(thread
(λ ()
(forever
(sleep (* 24 60 60))
(sleep (* 1 60 60))
(printf "Running scheduled update.\n")
(signal-update! empty))))
(serve/servlet

View File

@ -28,7 +28,7 @@
(define now (current-seconds))
(define last (hash-ref i 'last-checked -inf.0))
(when (or force?
(>= (- now last) (* 24 60 60)))
(>= (- now last) (* 1 60 60)))
(printf "\tupdating ~a\n" pkg-name)
(define new-checksum
(package-url->checksum