Removed auto-update script as source is no longer updated

master
Brady McDonough 10 months ago
parent 49d9e4e5d1
commit c213adb875

@ -122,6 +122,9 @@
(sleep (sec/mins 9)))) (sleep (sec/mins 9))))
(loop))) (loop)))
#! As the git repository is no longer updated there is no need to
establish a job loop or populate the statistics tables asynchronously
(begin-thread (with-mutex %json-lock (begin-thread (with-mutex %json-lock
(git:fetch) (git:fetch)
(set! mcron-locked (mutex-owner %json-lock)) (set! mcron-locked (mutex-owner %json-lock))
@ -129,6 +132,13 @@
(calculate-strings!)) (calculate-strings!))
(sleep (next-timestamp)) (sleep (next-timestamp))
(job-loop)) (job-loop))
(sleep 1) (sleep 1)
(while (mutex-locked? %json-lock) (while (mutex-locked? %json-lock)
(sleep 1)) (sleep 1))
!#
; Functional parts of the asynchronous code above
(git:fetch)
(process-stats! $stat-tree)
(calculate-strings!)

Loading…
Cancel
Save