jason810496 commented on PR #71704: URL: https://github.com/apache/airflow/pull/71704#issuecomment-5328309571
> As an immediate question: Do we actually need to wait an hour (or whatever TTL timeout)? Can we simply reclaim the cached data whenever a dag version is not used anymore in X loop iterations? > > > We could add a configuration for this X (and it’s probably a good enough approach for a quick fix), but we probably can even derive the value automatically. Yes we can, I had the similar thought while implementing by introducing another ticker that will reclaim the stale Dag version (proactive eviction). But I think it's fine to keep it as-is and let the user to tune the TTL threshold. Or do you think we should implement the proactive eviction loop with no size cap + no TTL in this PR? -- 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]
