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 2019/08/07 16:44:57 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #5743: [AIRFLOW-5088] persisting serialized DAG in DB for webserver scalability

kaxil commented on a change in pull request #5743: [AIRFLOW-5088] persisting serialized DAG in DB for webserver scalability
URL: https://github.com/apache/airflow/pull/5743#discussion_r311652074
 
 

 ##########
 File path: airflow/models/dag.py
 ##########
 @@ -52,6 +53,8 @@
 from airflow.utils.sqlalchemy import UtcDateTime, Interval
 from airflow.utils.state import State
 
+DAGCACHED_ENABLED = configuration.getboolean('core', 'dagcached', fallback=True)
 
 Review comment:
   We should probably just have this setting at one place (May be in `settings.py`) and import it from there.

----------------------------------------------------------------
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


With regards,
Apache Git Services