XD-DENG commented on a change in pull request #4309: [AIRFLOW-3504]
Extend/refine the functionality of "/health" endpoint
URL: https://github.com/apache/incubator-airflow/pull/4309#discussion_r244678727
##########
File path: airflow/www/views.py
##########
@@ -377,7 +377,6 @@ def index(self):
@expose('/chart_data')
@data_profiling_required
@wwwutils.gzipped
- # @cache.cached(timeout=3600, key_prefix=wwwutils.make_cache_key)
Review comment:
This line was commented, and no import statement for `cache`.
I believe the original author tried to use `Flask-Cache` to improve
performance, but eventually related codes were removed, while this line was
missed in the removing process.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services