aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2026-05-28 00:18:53 +0100
committerSam James <sam@gentoo.org>2026-05-28 00:18:53 +0100
commit02eba8dfa498cccdfd6c656f00ade7f2152c7bcf (patch)
tree7be8355cd8b05d04facbacd7d6467905893766c4
parentRemove broken signature links (diff)
downloadmastermirror-scripts-master.tar.gz
mastermirror-scripts-master.tar.bz2
mastermirror-scripts-master.zip
mastermirror-staging.sh: crank up wget timeout to 15sHEAD20260527T232019Zmaster
Otherwise I don't think it gets a chance to retry: ``` $ /usr/bin/wget --timeout=2 --timestamping https://api.gentoo.org/metastructure/projects.xml -O /var/tmp/mastermirror-staging/projects/tmp.GpNxcWYYMo ; echo $? WARNING: timestamping does nothing in combination with -O. See the manual for details. --2026-05-27 23:19:39-- https://api.gentoo.org/metastructure/projects.xml Resolving api.gentoo.org... 2a02:6ea0:d800::6, 212.102.46.11 Connecting to api.gentoo.org|2a02:6ea0:d800::6|:443... connected. Unable to establish SSL connection. 4 ``` Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xmastermirror-staging.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastermirror-staging.sh b/mastermirror-staging.sh
index 3f07c88..65d688b 100755
--- a/mastermirror-staging.sh
+++ b/mastermirror-staging.sh
@@ -26,7 +26,7 @@ GIT="/usr/bin/git"
GIT_CL="${GIT} clone -q"
GIT_PL="${GIT} pull -q --ff-only --no-stat --no-rebase"
-WGET="/usr/bin/wget --timeout=2 --quiet --timestamping"
+WGET="/usr/bin/wget --timeout=15 --quiet --timestamping"
GIT_RESTORE_MTIME="$(find /usr/lib/python-exec/python*/ -maxdepth 1 -name git-restore-mtime |sort -r |head -n1)"
GIT_RESTORE_MTIME_ARGS="-q -m -c --first-parent"