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> ## 3.4.1 2022-09-13 <dave at tiredofit dot ca>
### Added ### Added

View File

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