Release 3.4.2 - See CHANGELOG.md

This commit is contained in:
dave@tiredofit.ca
2022-09-19 08:00:15 -07:00
parent 7bda69b062
commit b956bd817f
2 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
## 3.4.2 2022-09-19 <dave at tiredofit dot ca>
### Changed
- Skip availability check for Mongo Atlas connections
## 3.4.1 2022-09-13 <dave at tiredofit dot ca>
### Added

View File

@@ -375,12 +375,14 @@ check_availability() {
esac
;;
"mongo" )
counter=0
while ! (nc -z ${DB_HOST} ${DB_PORT}) ; do
sleep 5
(( counter+=5 ))
print_warn "Mongo Host '${DB_HOST}' is not accessible, retrying.. ($counter seconds so far)"
done
if [ "${MONGO_HOST_TYPE,,}" != "atlas" ] ; then
counter=0
while ! (nc -z ${DB_HOST} ${DB_PORT}) ; do
sleep 5
(( counter+=5 ))
print_warn "Mongo Host '${DB_HOST}' is not accessible, retrying.. ($counter seconds so far)"
done
fi
;;
"mysql" )
counter=0