Log metrics update duration.
* bin/cuirass.in (main): Log metrics update duration.
This commit is contained in:
parent
8fc4794b30
commit
822dbb366d
|
@ -193,7 +193,9 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
|
|||
'metrics exit-channel
|
||||
(lambda ()
|
||||
(while #t
|
||||
(db-update-metrics)
|
||||
(with-time-logging
|
||||
"Metrics update"
|
||||
(db-update-metrics))
|
||||
(sleep 3600)))))
|
||||
|
||||
(spawn-fiber
|
||||
|
|
Loading…
Reference in New Issue