From 6eb97690392b7690aff5eed7227c6ba6d73a44a4 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 4 Nov 2022 09:35:59 +0100 Subject: [PATCH] fix: set minimum sleep to 5 seconds --- overlay/bin/link-validator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlay/bin/link-validator b/overlay/bin/link-validator index 53f2cf1..e6cbbdc 100755 --- a/overlay/bin/link-validator +++ b/overlay/bin/link-validator @@ -12,5 +12,5 @@ caddy file-server --root "$LINK_VALIDATOR_BASE_DIR" --listen "$URL" & log_info "Wait for web server on '$URL'" /usr/local/bin/wait-for "$URL" -log_info "Start muffet" -exec retry -t "$LINK_VALIDATOR_RETRIES" -- "/usr/local/bin/muffet $* http://$URL" +log_info "Start link validation" +exec retry -t "$LINK_VALIDATOR_RETRIES" -m 5 -- "/usr/local/bin/muffet $* http://$URL"