[Piuparts-commits] [piuparts] 01/01: slave_bin: add some sleep (or get some coffee)
Holger Levsen
holger at layer-acht.org
Mon Mar 6 09:34:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit f1eb600d9db5e0f3c03c05e61c39d51e0f204d53
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 6 10:34:00 2017 +0100
slave_bin: add some sleep (or get some coffee)
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
slave-bin/slave_stop.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/slave-bin/slave_stop.in b/slave-bin/slave_stop.in
index dc8e129..4c9f891 100755
--- a/slave-bin/slave_stop.in
+++ b/slave-bin/slave_stop.in
@@ -45,6 +45,7 @@ while pgrep --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piup
pgrep --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piuparts-slave' | xargs -r echo -n "slaves running: "
SLEEP=$(( $i * $i ))
echo " sleeping ${SLEEP}sec now..."
+ sleep $SLEEP
i=$(( $i + 1 ))
done
echo -n "$(date -u +%T) - "
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list