avkirilishin commented on issue #21089: URL: https://github.com/apache/airflow/issues/21089#issuecomment-1025009337
You can set `min_file_process_interval` to a large value (for example 86400), `file_parsing_sort_mode` to "modified_time" and `default_timezone` to "system". I think we have to change the `min_file_process_interval` description due to https://github.com/apache/airflow/commit/add7490145fabd097d605d85a662dccd02b600de > Number of seconds after which a DAG file is parsed. The DAG file is parsed every min_file_process_interval number of seconds. Updates to DAGs are reflected after this interval **_or after the DAG file modification if `file_parsing_sort_mode` is set to "modified_time"_**. Keeping this number low will increase CPU usage. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
