jason810496 opened a new pull request, #71845: URL: https://github.com/apache/airflow/pull/71845
Setting `[api] dag_cache_size = 0` was meant to mean "no size limit," but it silently disabled TTL-based eviction too, ignoring `dag_cache_ttl` entirely. Now the TTL applies regardless of size limit, and eviction is only fully disabled when both `dag_cache_size` and `dag_cache_ttl` are 0. Deployments using `dag_cache_size = 0` will start evicting on the default one-hour TTL; set `dag_cache_ttl = 0` to keep the old behavior. Also included: - negative `dag_cache_size`/`dag_cache_ttl` values now raise a `ValueError` instead of being silently clamped (validated both at the API config boundary and defensively in `DBDagBag`) - docs are corrected to show these options shipped in 3.2.2, not 3.3.0, with clarified wording on when TTL refreshes actually happen. (cherry picked from commit f63d321) -- 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]
