Browse Source

disable mongo check

tomishinets.v 6 years ago
parent
commit
1ec743e730
1 changed files with 1 additions and 1 deletions
  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 ! mongo --host "${DB_CLUSTER}" --eval "db.runCommand( { connectionStatus: 1 } )"; do echo "Waiting for ${DB_CLUSTER} to be available"; sleep 1; done
+#    while ! mongo --host "${DB_CLUSTER}" --eval "db.runCommand( { connectionStatus: 1 } )"; do echo "Waiting for ${DB_CLUSTER} to be available"; sleep 1; done
     echo "0"
     exit 0
 fi