GitHub user Starkie added a comment to the discussion: ERROR - 
DagFileProcessorManager (PID=1234 last sent a heartbeat 50.42 seconds ago! 
Restarting it

In my case, this error was caused by having the `.venv` folder inside the DAGs 
folder. 

I was able to fix it by adding an [.airflowignore 
file](https://airflow.apache.org/docs/apache-airflow/2.9.3/core-concepts/dags.html#concepts-airflowignore)
 that skipped parsing all these files:

```
**/.venv
**/__pycache__
**/.git
**/.pytest_cache
```

GitHub link: 
https://github.com/apache/airflow/discussions/19270#discussioncomment-15671907

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to