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 2020/11/13 23:22:02 UTC

[GitHub] [airflow] turbaszek commented on a change in pull request #12308: Add info log message about duration taken to load plugins

turbaszek commented on a change in pull request #12308:
URL: https://github.com/apache/airflow/pull/12308#discussion_r523281944



##########
File path: airflow/plugins_manager.py
##########
@@ -262,6 +263,8 @@ def ensure_plugins_loaded():
 
     log.debug("Loading plugins")
 
+    start = time.monotonic()

Review comment:
       Only problem I see is that context manager introduces additional level of indentation which can require a pylint disable sometimes... Apart from that I like the idea!




----------------------------------------------------------------
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:
users@infra.apache.org