jason810496 commented on code in PR #71814:
URL: https://github.com/apache/airflow/pull/71814#discussion_r3811943190
##########
airflow-core/docs/administration-and-deployment/web-stack.rst:
##########
@@ -188,9 +188,10 @@ For example, to trigger a rolling restart of the API
server pods:
kubectl rollout restart deployment airflow-api-server
-The API server also supports bounded DAG caching via ``dag_cache_size`` and
-``dag_cache_ttl``, which limits memory consumed by cached SerializedDAG
objects.
-This reduces memory growth from DAG version accumulation regardless of server
type.
+The API server also evicts cached SerializedDAG objects via ``dag_cache_size``
and
+``dag_cache_ttl``, which reduces memory growth from Dag version accumulation
regardless of
+server type. Note that only ``dag_cache_size`` caps memory outright: each
re-check resets a
+cached entry's expiry, so ``dag_cache_ttl`` reclaims only the versions that
stop being requested.
Review Comment:
I rephrased the docs in a21020f68b. Thanks.
--
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]