Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
changed redis connection from localhost to redis
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreycwitt committed Nov 11, 2019
1 parent 5047a6c commit 41762cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

logger = logging.getLogger()
lbp_config.cache_dir = "cache"
redis_connection = Redis(host="localhost")
redis_connection = Redis(host="redis")
q = Queue(connection=redis_connection)


Expand Down
2 changes: 1 addition & 1 deletion worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def start_worker(queues: list = ["default"]):
with Connection():
w = Worker(queues, connection=Redis(host="localhost"))
w = Worker(queues, connection=Redis(host="redis"))
w.work()


Expand Down

0 comments on commit 41762cf

Please sign in to comment.