summaryrefslogtreecommitdiff
path: root/bin/runmirrors
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-10-30 23:01:57 +0100
committerJoerg Jaspert <joerg@debian.org>2008-10-30 23:01:57 +0100
commitefbaaf0ce2fe1150744f03d207922018fdd4d492 (patch)
tree4a75a054d96a3d2cce96a190b0d31cdcc4bd4817 /bin/runmirrors
parenta1d8f195cf5b8567d6ea2f039dbe49312af2754b (diff)
runmirrors
make waiting delay in staged sync configurable Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/runmirrors')
-rwxr-xr-xbin/runmirrors2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/runmirrors b/bin/runmirrors
index c326665..9d31b59 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -60,6 +60,8 @@ PROGRAM=${PROGRAM:-"${NAME}-$(hostname -s)"}
SSH_OPTS=${SSH_OPTS:-""}
# Whats our archive name? We will also tell our leafs about it
PUSHARCHIVE=${PUSHARCHIVE:-"${CONF}"}
+# How long to wait for mirrors to do stage1 if we have multi-stage syncing
+PUSHDELAY=${PUSHDELAY:-240}
# Some sane defaults
cd ${BASEDIR}