From 56c438a250de7b7acec1f0d2f5aade60ccc370f8 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 18 Aug 2023 13:41:21 -0400 Subject: acid: Add sleep between executing jobs The loop in the main update function will sleep for a configurable amount of time between each job / service entry. This added time will make the output log easier to read on-the-fly, but this change also makes the process of rapidly rebuilding services that are dependent on each other more reliable. Signed-off-by: Malfurious --- acid/config.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'acid/config.sh') diff --git a/acid/config.sh b/acid/config.sh index ee6b5cc..857173e 100644 --- a/acid/config.sh +++ b/acid/config.sh @@ -4,6 +4,9 @@ CYCHE_MAINT_TIME=604800 # 1 week # Minimum time to wait between polling sources for updates CYCHE_POLL_TIME=600 # 10 minutes +# Minimum time to wait between executing individual jobs +CYCHE_JOB_TIME=10 # 10 seconds + # Minimum time to wait on daemon startup CYCHE_STARTUP_TIME=60 # 1 minute -- cgit v1.2.3