Set max time to 60 seconds.

This commit is contained in:
Kavin 2023-08-14 07:00:29 +01:00
parent 30d7c0323d
commit 3f4d431f7b
No known key found for this signature in database
GPG key ID: 6E4598CA5C92C41F

View file

@ -1,6 +1,6 @@
#!/bin/bash
CURLOPTS=(-i -s -S -o /dev/null -f -w "%{http_code}\tTime:\t%{time_starttransfer}\t%{url_effective}\n")
CURLOPTS=(-i -s -S --max-time 60 -o /dev/null -f -w "%{http_code}\tTime:\t%{time_starttransfer}\t%{url_effective}\n")
HOST="127.0.0.1:8080"
# Healthcheck Test