eladkal commented on code in PR #71704:
URL: https://github.com/apache/airflow/pull/71704#discussion_r3796756221
##########
airflow-core/src/airflow/config_templates/config.yml:
##########
@@ -2642,6 +2653,36 @@ scheduler:
type: integer
example: ~
default: "60"
+ dag_cache_size:
+ description: |
+ Max number of deserialized SerializedDAG objects the scheduler keeps
in memory, keyed by
+ Dag version ID. Set to 0 for no size limit, leaving eviction to
``dag_cache_ttl``.
+ Set both this and ``dag_cache_ttl`` to 0 to use an unbounded dict with
no eviction,
+ matching the behavior before 3.3.2. The cache then grows with the
number of Dag versions
+ the scheduler has ever seen, which on a long-running scheduler is
unbounded.
+ version_added: 3.3.2
Review Comment:
Is this PR targeting 3.3.2? It's pretty big for patch release isn't it?
--
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]