From c0b10b385968cbf07015ebf9b9393e095a11d439 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 14 Mar 2019 17:15:00 +0000 Subject: [PATCH] Make server status use a 20 timeout --- i3/blocks/serverStatus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/blocks/serverStatus b/i3/blocks/serverStatus index 815de22c..78a8a361 100755 --- a/i3/blocks/serverStatus +++ b/i3/blocks/serverStatus @@ -23,7 +23,7 @@ checkRandomSite(){ } checkURL(){ - responce=$(curl -s --head -w %{http_code} $1 -L -o /dev/null --connect-timeout 10) + responce=$(curl -s --head -w %{http_code} $1 -L -o /dev/null --connect-timeout 20) if [ "$responce" != 200 ]; then pgrep -x dunst && notify-send -u critical "$1 is down" "Server: $2\nResponce: $responce" & disown fi