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 2021/09/24 19:11:37 UTC

[GitHub] [airflow] jedcunningham commented on a change in pull request #18478: Improve guidance to users telling them what to do on import timeout

jedcunningham commented on a change in pull request #18478:
URL: https://github.com/apache/airflow/pull/18478#discussion_r715847803



##########
File path: airflow/models/dagbag.py
##########
@@ -316,7 +317,12 @@ def _load_modules_from_file(self, filepath, safe_mode):
         if mod_name in sys.modules:
             del sys.modules[mod_name]
 
-        timeout_msg = f"DagBag import timeout for {filepath} after {self.DAGBAG_IMPORT_TIMEOUT}s"
+        timeout_msg = (
+            f"DagBag import timeout for {filepath} after {self.DAGBAG_IMPORT_TIMEOUT}s.\n"
+            "Please take a look at those docs to improve your DAG import time\n"

Review comment:
       ```suggestion
               "Please take a look at these docs to improve your DAG import time:\n"
   ```




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org