From e880d47cb45138d04977babc82dc0acf6cee3f42 Mon Sep 17 00:00:00 2001 From: kexkey Date: Fri, 21 Jun 2019 14:09:41 -0400 Subject: [PATCH] Boosted mosquitto timeout so it works well even on a slow RPi --- cyphernodeconf_docker/templates/installer/testfeatures.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyphernodeconf_docker/templates/installer/testfeatures.sh b/cyphernodeconf_docker/templates/installer/testfeatures.sh index 302753a..000485b 100644 --- a/cyphernodeconf_docker/templates/installer/testfeatures.sh +++ b/cyphernodeconf_docker/templates/installer/testfeatures.sh @@ -100,7 +100,7 @@ checknotifier() { local response local returncode - response=$(mosquitto_rr -h broker -W 5 -t notifier -e "response/$$" -m "{\"response-topic\":\"response/$$\",\"cmd\":\"web\",\"url\":\"http://proxy:8888/getbestblockhash\"}") + response=$(mosquitto_rr -h broker -W 15 -t notifier -e "response/$$" -m "{\"response-topic\":\"response/$$\",\"cmd\":\"web\",\"url\":\"http://proxy:8888/getbestblockhash\"}") returncode=$? [ "${returncode}" -ne "0" ] && return 115 http_code=$(echo "${response}" | jq ".http_code" | tr -d '"')