Skip to content

Commit

Permalink
Release 3.4.2 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Sep 19, 2022
1 parent 7bda69b commit b956bd8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 8 additions & 6 deletions install/assets/functions/10-db-backup
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b956bd8

Please sign in to comment.