Browse Source

Merge branch 'master' of github.com:celery/celery

Ask Solem 9 years ago
parent
commit
d676150e7b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      celery/backends/database/__init__.py

+ 3 - 1
celery/backends/database/__init__.py

@@ -77,7 +77,9 @@ class DatabaseBackend(BaseBackend):
         # The `url` argument was added later and is used by
         # the app to set backend by url (celery.backends.get_backend_by_url)
         super(DatabaseBackend, self).__init__(
-            expires_type=maybe_timedelta, **kwargs
+            expires_type=maybe_timedelta,
+            url=url,
+            **kwargs
         )
         conf = self.app.conf
         self.url = url or dburi or conf.sqlalchemy_dburi