The GitHub Actions job "Check newsfragment PR number" on 
airflow.git/fix/api-dag-cache-ttl-ignored has failed.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
5f87d43a13dc1e323129b8c28b4c9119b555e477 / LIU ZHE YOU <[email protected]>
Honor the API server Dag cache TTL when no size limit is set

`[api] dag_cache_size = 0` reads as "no size limit", but it selected a mapping
that never evicted at all and silently ignored `[api] dag_cache_ttl`. Age-based
eviction could therefore only be enabled by also accepting a size cap, which is
backwards for a deployment that wants to bound staleness rather than count.

A TTL now applies with or without a size limit, and only setting both options to
0 disables eviction. Deployments on `dag_cache_size = 0` start evicting on the
default hour-long TTL; setting `dag_cache_ttl = 0` restores the old behaviour.

The options were also documented as added in 3.3.0. They shipped in 3.2.2.

Report URL: https://github.com/apache/airflow/actions/runs/32221230899

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to