youngyjd commented on a change in pull request #5321: [AIRFLOW-4565] instrument 
celery executor
URL: https://github.com/apache/airflow/pull/5321#discussion_r287504426
 
 

 ##########
 File path: airflow/executors/celery_executor.py
 ##########
 @@ -182,10 +183,17 @@ def heartbeat(self):
         else:
             open_slots = self.parallelism - len(self.running)
 
-        self.log.debug("%s running task instances", len(self.running))
-        self.log.debug("%s in queue", len(self.queued_tasks))
+        num_running_tasks = len(self.running)
 
 Review comment:
   @milton0825 Does current change look better to you?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to