ashb commented on a change in pull request #15112:
URL: https://github.com/apache/airflow/pull/15112#discussion_r605039463
##########
File path: airflow/utils/dag_processing.py
##########
@@ -696,11 +706,20 @@ def _run_parsing_loop(self):
max_runs_reached = self.max_runs_reached()
dag_parsing_stat = DagParsingStat(
- self._file_paths,
+ len(self._file_paths),
max_runs_reached,
all_files_processed,
)
- self._signal_conn.send(dag_parsing_stat)
+ try:
+ self._signal_conn.send(dag_parsing_stat)
Review comment:
Since these are local sockets, with the change to Non-blocking mode, it
will either succeed, or fail entirely, "instantly", so we don't need a timeout,
no.
--
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]