Explorar o código

Redis: new_join does not need to support CHORD_PROPAGATES

Ask Solem %!s(int64=9) %!d(string=hai) anos
pai
achega
a50bfd8f34
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      celery/backends/redis.py

+ 1 - 4
celery/backends/redis.py

@@ -196,11 +196,8 @@ class RedisBackend(KeyValueStoreBackend):
         options['task_id'] = group_id
         return header(*partial_args, **options or {})
 
-    def _new_chord_return(self, task, state, result, propagate=None,
-                          PROPAGATE_STATES=states.PROPAGATE_STATES):
+    def _new_chord_return(self, task, state, result, propagate=None):
         app = self.app
-        if propagate is None:
-            propagate = self.app.conf.CELERY_CHORD_PROPAGATES
         request = task.request
         tid, gid = request.id, request.group
         if not gid or not tid: