Skip to content

Commit

Permalink
Connect explicitly to Redis on the backup tool
Browse files Browse the repository at this point in the history
  • Loading branch information
andreparames committed Sep 13, 2024
1 parent 70fd5e6 commit f8baf9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dal/tools/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import sys
from importlib import import_module

from dal.movaidb import MovaiDB


def test_reachable(redis_url):
"""Helper function to test wether a redis_server is reachable or not
Expand Down Expand Up @@ -134,6 +136,9 @@ def __init__(self, project, debug: bool = False, root_path=_ROOT_PATH, recursive
# prints nothing
self.log = lambda *args, **kwargs: None

# Connect to Redis
MovaiDB(db="global")

#
# reads a manifest file and returns
# the declared objects
Expand Down

0 comments on commit f8baf9a

Please sign in to comment.