SamWheating commented on a change in pull request #21399:
URL: https://github.com/apache/airflow/pull/21399#discussion_r806346597
##########
File path: tests/dag_processing/test_manager.py
##########
@@ -570,7 +618,7 @@ def fake_processor_(*args, **kwargs):
manager = DagFileProcessorManager(
dag_directory=test_dag_path,
max_runs=1,
- processor_timeout=timedelta.max,
+ processor_timeout=timedelta(hours=10),
Review comment:
Setting this value to `max` caused issues due to the following line of
code, which led to an overflow:
```python
and (dag.last_parsed_time + self._processor_timeout) <
last_parsed[dag.fileloc]
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]