Przeglądaj źródła

Forgot to return task_id in _delay_Task

Ask Solem 16 lat temu
rodzic
commit
4e8efe187f
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      celery/messaging.py

+ 1 - 0
celery/messaging.py

@@ -32,6 +32,7 @@ class TaskPublisher(Publisher):
         if part_of_set:
             message_data["celeryTASKSET"] = part_of_set
         self.send(message_data)
+        return task_id
 
 
 class TaskConsumer(NoProcessConsumer):