Browse Source

task-started event no longer have to send pid field, as that is built-in

Ask Solem 12 years ago
parent
commit
51ef946a84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/worker/job.py

+ 1 - 1
celery/worker/job.py

@@ -299,7 +299,7 @@ class Request(object):
         task_accepted(self)
         if not self.task.acks_late:
             self.acknowledge()
-        self.send_event('task-started', pid=pid)
+        self.send_event('task-started')
         if _does_debug:
             debug('Task accepted: %s[%s] pid:%r', self.name, self.id, pid)
         if self._terminate_on_ack is not None: