kaxil commented on a change in pull request #7217: [AIRFLOW-5946] Store source 
code in db
URL: https://github.com/apache/airflow/pull/7217#discussion_r387325391
 
 

 ##########
 File path: docs/dag-serialization.rst
 ##########
 @@ -63,6 +63,8 @@ Add the following settings in ``airflow.cfg``:
     If set to True, Webserver reads from DB instead of parsing DAG files
 *   ``min_serialized_dag_update_interval``: This flag sets the minimum 
interval (in seconds) after which
     the serialized DAG in DB should be updated. This helps in reducing 
database write rate.
+*   ``store_code``: This flag decides whether to persist DAG files code in DB.
+    If set to True, Webserver reads file contents from DB instead of trying to 
access files in a DAG folder.
 
 If you are updating Airflow from <1.10.7, please do not forget to run 
``airflow db upgrade``.
 
 
 Review comment:
   We can remove Line 79 and 80 about the following limitation:
   
   ```
   *   **Code View** will read the DAG File & show it using Pygments.
        However, it does not need to Parse the Python file so it is still a 
small operation.
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to