diff options
author | Frederick Muriuki Muriithi | 2022-07-18 11:32:44 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-07-19 05:08:17 +0300 |
commit | 044184ef28a091519b7632d582387c26bf1543ea (patch) | |
tree | 5c3a08605148d5a718cbb0ecd8fc6d9965242250 /quality_control/utils.py | |
parent | 52024b1f6cde74b51181ce4108cf01611a7ea636 (diff) | |
download | gn-uploader-044184ef28a091519b7632d582387c26bf1543ea.tar.gz |
Check connections before launching
* qc_app/__init__.py (refactor): Check connection before launching the
application
* qc_app/check_connections.py (new file): Add code to check
connections
* qc_app/db_utils.py (refactor): enable passing the database uri as an
argument to the connection creation function.
* scripts/worker.py (refactor): Use new code to check for redis
connection.
Diffstat (limited to 'quality_control/utils.py')
0 files changed, 0 insertions, 0 deletions