mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 21:33:28 +01:00
Release 3.4.2 - See CHANGELOG.md
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user