summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2022-02-15 20:00:58 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2022-02-15 20:00:58 -0800
commitc0c0b3847f97db30025eb1b633b9f01d2a98b1ce (patch)
tree4b5bf36226c8bcbba16e3b007b77f53eea3a8ebf
parentlocal/require-signed-push: fix missing redirection (diff)
downloadgithooks-c0c0b3847f97db30025eb1b633b9f01d2a98b1ce.tar.gz
githooks-c0c0b3847f97db30025eb1b633b9f01d2a98b1ce.tar.bz2
githooks-c0c0b3847f97db30025eb1b633b9f01d2a98b1ce.zip
local/require-signed-push: raise clock drift limitgithooks-20220216T040058Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xlocal/require-signed-push2
1 files changed, 1 insertions, 1 deletions
diff --git a/local/require-signed-push b/local/require-signed-push
index dd6fb23..eef887b 100755
--- a/local/require-signed-push
+++ b/local/require-signed-push
@@ -126,7 +126,7 @@ verify_pusher_clock() {
# This one should never happen unless the server's clock has gone backwards during the round trip period.
[[ $DELTA_T2_T0 -lt 0 ]] && die "Server clock moved backwards during process, please report to infra@ and retry!"
- CLOCK_DRIFT_LIMIT=5
+ CLOCK_DRIFT_LIMIT=30
PUSH_LIMIT=60
_die=0
# Put the stricter check first, otherwise the weaker check will never be seen.