summaryrefslogtreecommitdiffstats
path: root/acid/cychedelic
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-08-18 13:41:21 -0400
committerMalfurious <m@lfurio.us>2023-08-18 13:45:53 -0400
commit56c438a250de7b7acec1f0d2f5aade60ccc370f8 (patch)
tree3648cf9e1d809a3d19ecc26685128a5193a2c67b /acid/cychedelic
parent35e4d29694613a3348e5e6d0344a4c6340d95f22 (diff)
downloadcychedelic-56c438a250de7b7acec1f0d2f5aade60ccc370f8.tar.gz
cychedelic-56c438a250de7b7acec1f0d2f5aade60ccc370f8.zip
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 <m@lfurio.us>
Diffstat (limited to '')
-rwxr-xr-xacid/cychedelic1
1 files changed, 1 insertions, 0 deletions
diff --git a/acid/cychedelic b/acid/cychedelic
index 273a041..17f2d33 100755
--- a/acid/cychedelic
+++ b/acid/cychedelic
@@ -28,6 +28,7 @@ update() {
if [ $res -ne 2 ]; then
if [ $res -eq 1 ] || [ "$1" == "$forceopt" ]; then
cyche-build "${arr[0]}" "${arr[3]}" "$hash" $selfopt
+ sleep "$CYCHE_JOB_TIME"
fi
fi