Commit f3293d9
Add django-probes for wait_for_database (aboutcode-org#401)
This feature is nice-to-have for Kubernetes/OpenShift deployments making
start up of app more streamlined by giving ability for app to wait for
database to be up rather than crash until db is up.
As per it's docs it supports all db engines that Django supports:
https://pypi.org/project/django-probes/
License: BSD-3-Clause
Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
Co-authored-by: tdruez <489057+tdruez@users.noreply.github.com>1 parent 239c1bb commit f3293d9
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments