diff --git a/celery_singleton/config.py b/celery_singleton/config.py index 55e51ba..fdd929b 100644 --- a/celery_singleton/config.py +++ b/celery_singleton/config.py @@ -31,7 +31,7 @@ def backend_url(self): if url is not None: return url url = self.app.conf.get("result_backend") - if not url or not url.startswith("redis://"): + if not url or not url.startswith("redis://") or not url.startswith("rediss://"): url = self.app.conf.get("broker_url") return url