From c213adb875aa89110b0a7ec938cb9df397766981 Mon Sep 17 00:00:00 2001 From: Brady McDonough Date: Mon, 27 Jan 2025 22:04:27 -0700 Subject: [PATCH] Removed auto-update script as source is no longer updated --- backend/src/scheduler.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/backend/src/scheduler.scm b/backend/src/scheduler.scm index 60d9fca..f09fb89 100644 --- a/backend/src/scheduler.scm +++ b/backend/src/scheduler.scm @@ -122,6 +122,9 @@ (sleep (sec/mins 9)))) (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 (git:fetch) (set! mcron-locked (mutex-owner %json-lock)) @@ -129,6 +132,13 @@ (calculate-strings!)) (sleep (next-timestamp)) (job-loop)) + (sleep 1) (while (mutex-locked? %json-lock) (sleep 1)) +!# + +; Functional parts of the asynchronous code above +(git:fetch) +(process-stats! $stat-tree) +(calculate-strings!)