Skip to content

Commit

Permalink
Merge pull request #337 from napse-invest/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
tomjeannesson authored Mar 13, 2024
2 parents 5d4d708 + 4862fc6 commit a7f8bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_napse/core/tasks/base_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from django_napse.core.celery_app import celery_app, strategy_log_free

redis_client = redis.Redis(host=settings.CELERY_BROKER_URL.split("//")[1].split(":")[0], port=settings.CELERY_BROKER_URL.split(":")[2])
redis_client = redis.Redis(host=settings.CELERY_BROKER_URL.split("//")[1].split(":")[0], port=settings.CELERY_BROKER_URL.split(":")[2].split("/")[0])


class BaseTask(celery.Task):
Expand Down

0 comments on commit a7f8bed

Please sign in to comment.