dlamblin commented on a change in pull request #3873: [Airflow-2760] Decouple
DAG parsing loop from scheduler loop
URL: https://github.com/apache/incubator-airflow/pull/3873#discussion_r219384327
##########
File path: airflow/utils/dag_processing.py
##########
@@ -308,6 +369,249 @@ def file_path(self):
raise NotImplementedError()
+class DagParsingStat(object):
+ def __init__(self,
+ file_paths,
+ all_pids,
+ done,
+ all_files_processed,
+ result_count):
+ self.file_paths = file_paths
+ self.all_pids = all_pids
+ self.done = done
+ self.all_files_processed = all_files_processed
+ self.result_count = result_count
+
+
+class DagParsingSignal(object):
Review comment:
This is either some Immutable Singleton or
```python
DagParsingSignal = namedtuple('DagParsingSignal',
'AGENT_HEARTBEAT MANAGER_DONE TERMINATE_MANAGER
END_MANAGER')(
'agent_heartbeat', 'manager_done',
'terminate_manager', 'end_manager')```
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services