Skip to content

Commit

Permalink
setting super__redis (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluder-Paradyne authored Aug 10, 2023
1 parent 3683273 commit 5a25cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superagi/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from superagi.models.db import connect_db
from superagi.types.model_source_types import ModelSourceType

redis_url = get_config('REDIS_URL') or 'localhost:6379'
redis_url = get_config('REDIS_URL', 'super__redis:6379')

app = Celery("superagi", include=["superagi.worker"], imports=["superagi.worker"])
app.conf.broker_url = "redis://" + redis_url + "/0"
Expand Down

0 comments on commit 5a25cbd

Please sign in to comment.