diff --git a/chart/newsfragments/27625.significant.rst b/chart/newsfragments/27625.significant.rst new file mode 100644 index 0000000000000..2fe472459e3ee --- /dev/null +++ b/chart/newsfragments/27625.significant.rst @@ -0,0 +1,4 @@ +Default ``dags.gitSync.wait`` reduced to ``5`` seconds + +The default for ``dags.gitSync.wait`` has been reduced from ``60`` seconds to ``5`` seconds to reduce the likelihood of DAGs +becoming inconsistent between Airflow components. This will, however, increase traffic to the remote git repository. diff --git a/chart/values.schema.json b/chart/values.schema.json index 234ad58900fc6..6b8441a8d48e1 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -5233,9 +5233,9 @@ "default": "tests/dags" }, "wait": { - "description": "Interval between git sync attempts in seconds.", + "description": "Interval between git sync attempts in seconds. High values are more likely to cause DAGs to become out of sync between different components. Low values cause more traffic to the remote git repository.", "type": "integer", - "default": 60 + "default": 5 }, "containerName": { "description": "Git sync container name.", diff --git a/chart/values.yaml b/chart/values.yaml index bda009b09bf77..5666b4a508f70 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1824,8 +1824,11 @@ dags: # knownHosts: | # , # , + # interval between git sync attempts in seconds - wait: 60 + # high values are more likely to cause DAGs to become out of sync between different components + # low values cause more traffic to the remote git repository + wait: 5 containerName: git-sync uid: 65533