Преглед изворни кода

Redis: new_join does not need to support CHORD_PROPAGATES

Ask Solem пре 9 година
родитељ
комит
a50bfd8f34
1 измењених фајлова са 1 додато и 4 уклоњено
  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: