Bump reprepro timeout up to 90m

We've seen some issues with killing reprepro after 30mins, bump to 90m
which is still under the 2hr crontab loop.

This is to avoid killing reprepro when downloading a large updates and
potentially corrupting our databases.

Change-Id: I333302c00e36a029f9b3b4fa0c79ec4da7cec0ad
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-10-12 19:58:57 -04:00
parent f8ce0edd80
commit 474d2e81fc
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ MIRROR_VOLUME=$2
BASE=`cat ${REPREPRO_CONFIG}/options | grep base | cut -d' ' -f2`
UNREF_FILE=/var/run/reprepro/${MIRROR_VOLUME}.unreferenced-files
K5START="k5start -t -f /etc/reprepro.keytab service/reprepro -- timeout -k 2m 30m"
K5START="k5start -t -f /etc/reprepro.keytab service/reprepro -- timeout -k 2m 90m"
REPREPRO="$K5START reprepro --confdir $REPREPRO_CONFIG"
date --iso-8601=ns