summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acid/config.sh3
-rwxr-xr-xacid/cychedelic1
2 files changed, 4 insertions, 0 deletions
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
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