You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/09/10 09:30:59 UTC

[GitHub] ashb commented on a change in pull request #3830: [AIRFLOW-2156] Parallelize Celery Executor task state fetching

ashb commented on a change in pull request #3830: [AIRFLOW-2156] Parallelize Celery Executor task state fetching
URL: https://github.com/apache/incubator-airflow/pull/3830#discussion_r216255773
 
 

 ##########
 File path: airflow/executors/celery_executor.py
 ##########
 @@ -72,10 +112,24 @@ class CeleryExecutor(BaseExecutor):
     vast amounts of messages, while providing operations with the tools
     required to maintain such a system.
     """
-    def start(self):
+
+    def __init__(self):
+        super(CeleryExecutor, self).__init__()
+
+        # Parallelize Celery requests here since Celery does not support parallelization.
 
 Review comment:
   `# Celery doesn't support querying the state of multiple tasks in parallel (which can become a bottleneck on bigger clusters) so we use a multiprocessing pool to speed this up`

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


With regards,
Apache Git Services