Explorar el Código

Remove ping of DB_CLUSTER in healthcheck

Vadim Surkov hace 5 años
padre
commit
2954aa8412
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      healthcheck.sh

+ 1 - 1
healthcheck.sh

@@ -3,7 +3,7 @@
 containerstart=`stat -c %Z /proc/1`
 curtime=`date +%s`
 if (( curtime-containerstart < 180 )); then
-    while ! ping -c 1 ${DB_CLUSTER}; do echo "Waiting for ${DB_CLUSTER} to be available"; sleep 1; done
+#    while ! ping -c 1 ${DB_CLUSTER}; do echo "Waiting for ${DB_CLUSTER} to be available"; sleep 1; done
     echo "0"
     exit 0
 fi